4 test -z "$srcdir" && srcdir=.
10 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
12 echo "You must have autoconf installed to compile $PROJECT."
13 echo "Install the appropriate package for your distribution,"
14 echo "or get the source tarball at http://ftp.gnu.org/gnu/autoconf/"
18 if automake-1.9 --version < /dev/null > /dev/null 2>&1 ; then
23 echo "You must have automake 1.9.x installed to compile $PROJECT."
24 echo "Install the appropriate package for your distribution,"
25 echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
29 if test "$DIE" -eq 1; then
33 rm -rf $top_srcdir/autom4te.cache
38 libtoolize --force || exit $?
40 $AUTOMAKE --foreign --add-missing || exit $?
43 ./configure --enable-maintainer-mode $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?