2
# Run this to generate all the initial makefiles, etc.
5
test -z "$srcdir" && srcdir=.
15
(libtool --version) < /dev/null > /dev/null 2>&1 || {
17
echo "You must have libtool installed to compile $PROJECT."
18
echo "Get ftp://alpha.gnu.org/gnu/libtool-1.2d.tar.gz"
19
echo "(or a newer version if it is available)"
23
(automake --version) < /dev/null > /dev/null 2>&1 || {
25
echo "You must have automake installed to compile $PROJECT."
26
echo "Get ftp://sourceware.cygnus.com/pub/automake/automake-1.4.tar.gz"
27
echo "(or a newer version if it is available)"
31
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
33
echo "You must have autoconf installed to compile $PROJECT."
34
echo "Download the appropriate package for your distribution,"
35
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
39
if test "$DIE" -eq 1; then
43
test $TEST_TYPE $FILE || {
44
echo "You must run this script in the top-level $PROJECT directory"
49
echo "I am going to run ./configure with no arguments - if you wish "
50
echo "to pass any to it, please specify them on the $0 command line."
54
*xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;;
59
aclocal $ACLOCAL_FLAGS
61
# optionally feature autoheader
62
(autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader
64
automake --add-missing $am_opt
68
$srcdir/configure --enable-maintainer-mode "$@"
71
echo "Now type 'make' to compile $PROJECT."