2 # Run this to generate all the initial makefiles, etc.
10 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
12 echo "You must have autoconf installed to compile $PROJECT."
13 echo "Download the appropriate package for your distribution,"
14 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
18 (libtool --version) < /dev/null > /dev/null 2>&1 || {
20 echo "You must have libtool installed to compile $PROJECT."
21 echo "Get ftp://alpha.gnu.org/gnu/libtool-1.2b.tar.gz"
22 echo "(or a newer version if it is available)"
26 (automake --version) < /dev/null > /dev/null 2>&1 || {
28 echo "You must have automake installed to compile $PROJECT."
29 echo "Get ftp://ftp.cygnus.com/pub/home/tromey/automake-1.2d.tar.gz"
30 echo "(or a newer version if it is available)"
34 if test "$DIE" -eq 1; then
38 test $TEST_TYPE $FILE || {
39 echo "You must run this script in the top-level $PROJECT directory"
44 echo "I am going to run ./configure with no arguments - if you wish "
45 echo "to pass any to it, please specify them on the $0 command line."
49 xlc | *lcc | *lcc\ *) am_opt=--include-deps;;
52 aclocal $ACLOCAL_FLAGS
54 # optionally feature autoheader
55 (autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader
63 echo "Now type 'make' to compile $PROJECT."