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 (automake --version) < /dev/null > /dev/null 2>&1 || {
20 echo "You must have automake installed to compile $PROJECT."
21 echo "Install the appropriate package for your distribution,"
22 echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
26 if test "$DIE" -eq 1; then
30 rm -rf $top_srcdir/autom4te.cache
35 libtoolize --force || exit $?
37 automake --foreign --add-missing || exit $?
40 ./configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?