2 # Run this to generate all the initial makefiles, etc.
5 test -z "$srcdir" && srcdir=.
16 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
18 echo "You must have autoconf installed to compile $PROJECT."
19 echo "Download the appropriate package for your distribution,"
20 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
27 ($AUTOMAKE --version) < /dev/null > /dev/null 2>&1 || {
32 ($AUTOMAKE --version) < /dev/null > /dev/null 2>&1 || {
34 echo "You must have automake installed to compile $PROJECT."
35 echo "Get ftp://ftp.cygnus.com/pub/home/tromey/automake-1.2d.tar.gz"
36 echo "(or a newer version if it is available)"
40 if test "$DIE" -eq 1; then
44 test $TEST_TYPE $FILE || {
45 echo "You must run this script in the top-level $PROJECT directory"
50 echo "I am going to run ./configure with no arguments - if you wish "
51 echo "to pass any to it, please specify them on the $0 command line."
54 libtoolize --copy --force
56 echo $ACLOCAL $ACLOCAL_FLAGS
57 $ACLOCAL $ACLOCAL_FLAGS
59 # optionally feature autoheader
60 (autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader
63 autoconf || echo "autoconf failed - version 2.5x is probably required"
67 $srcdir/configure --enable-maintainer-mode "$@"
70 echo "Now type 'make' to compile $PROJECT."