2 # Run this to generate all the initial makefiles, etc.
5 test -z "$srcdir" && srcdir=.
14 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
16 echo "You must have autoconf installed to compile $PROJECT."
17 echo "Download the appropriate package for your distribution,"
18 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
22 (libtool --version) < /dev/null > /dev/null 2>&1 || {
24 echo "You must have libtool installed to compile $PROJECT."
25 echo "Get ftp://alpha.gnu.org/gnu/libtool-1.2b.tar.gz"
26 echo "(or a newer version if it is available)"
30 (automake --version) < /dev/null > /dev/null 2>&1 || {
32 echo "You must have automake installed to compile $PROJECT."
33 echo "Get ftp://ftp.cygnus.com/pub/home/tromey/automake-1.2d.tar.gz"
34 echo "(or a newer version if it is available)"
38 if test "$DIE" -eq 1; then
42 test $TEST_TYPE $FILE || {
43 echo "You must run this script in the top-level $PROJECT directory"
48 echo "I am going to run ./configure with no arguments - if you wish "
49 echo "to pass any to it, please specify them on the $0 command line."
53 *xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;;
56 aclocal $ACLOCAL_FLAGS
58 # optionally feature autoheader
59 (autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader
65 $srcdir/configure "$@"
68 echo "Now type 'make' to compile $PROJECT."