https://github.com/mozilla/gecko-dev
Raw File
Tip revision: adf0e3d21b644138b0d744c9d557f3b45de5b15a authored by ffxbld on 23 May 2012, 18:22:00 UTC
Added FIREFOX_13_0b5_RELEASE FIREFOX_13_0b5_BUILD1 tag(s) for changeset 5de6e4bd8ede. DONTBUILD CLOSED TREE a=release
Tip revision: adf0e3d
autogen.sh
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.

olddir=`pwd`
cd $srcdir

echo -n "checking for ragel... "
which ragel || {
	echo "You need to install ragel... See http://www.complang.org/ragel/"
	exit 1
}

echo -n "checking for pkg-config... "
which pkg-config || {
	echo "*** No pkg-config found, please install it ***"
	exit 1
}

echo -n "checking for autoreconf... "
which autoreconf || {
	echo "*** No autoreconf found, please install it ***"
	exit 1
}

echo "running autoreconf --force --install --verbose"
autoreconf --force --install --verbose || exit $?

cd $olddir
echo "running configure $@"
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
back to top