8
: ${AUTOHEADER=autoheader}
10
: ${LIBTOOLIZE=libtoolize}
15
test -z "$srcdir" && srcdir=.
20
aclocalinclude="-I . $ACLOCAL_FLAGS"
24
($AUTOCONF --version) < /dev/null > /dev/null 2>&1 || {
26
echo "You must have autoconf installed to compile $PROJECT."
27
echo "Download the appropriate package for your distribution,"
28
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
32
($AUTOMAKE --version) < /dev/null > /dev/null 2>&1 || {
34
echo "You must have automake installed to compile $PROJECT."
35
echo "Get ftp://sourceware.cygnus.com/pub/automake/automake-1.4.tar.gz"
36
echo "(or a newer version if it is available)"
40
(grep "^AM_PROG_LIBTOOL" $CONFIGURE >/dev/null) && {
41
($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || {
43
echo "**Error**: You must have \`libtool' installed to compile $PROJECT."
44
echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
45
echo "(or a newer version if it is available)"
50
if test "$DIE" -eq 1; then
54
#test $TEST_TYPE $FILE || {
55
# echo "You must run this script in the top-level $PROJECT directory"
60
echo "I am going to run ./configure with no arguments - if you wish "
61
echo "to pass any to it, please specify them on the $0 command line."
65
*xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;;
68
(grep "^AM_PROG_LIBTOOL" $CONFIGURE >/dev/null) && {
69
echo "Running $LIBTOOLIZE ..."
70
$LIBTOOLIZE --force --copy
73
echo "Running $ACLOCAL $aclocalinclude ..."
74
$ACLOCAL $aclocalinclude
76
echo "Running $AUTOMAKE --gnu $am_opt ..."
77
$AUTOMAKE --add-missing --gnu $am_opt
79
echo "Running $AUTOCONF ..."
82
echo Running $srcdir/configure $conf_flags "$@" ...
83
$srcdir/configure --enable-maintainer-mode $conf_flags "$@" \
3
echo Running autoreconf -v -i
4
autoreconf -v -i && echo You may now run configure