4 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 if [ -z "$LIBTOOL" ]; then
23 LIBTOOL
=`which glibtool 2>/dev/null`
24 if [ ! -x "$LIBTOOL" ]; then
25 LIBTOOL
=`which libtool`
29 (grep "^AM_PROG_LIBTOOL" $srcdir/configure.
in >/dev
/null
) && {
30 ($LIBTOOL --version) < /dev
/null
> /dev
/null
2>&1 ||
{
32 echo "**Error**: You must have \`libtool' installed to compile mod_mono."
33 echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
34 echo "(or a newer version if it is available)"
39 (automake
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
41 echo "You must have automake installed to compile $PROJECT."
42 echo "Get ftp://sourceware.cygnus.com/pub/automake/automake-1.4.tar.gz"
43 echo "(or a newer version if it is available)"
47 if test "$DIE" -eq 1; then
51 test $TEST_TYPE $FILE ||
{
52 echo "You must run this script in the top-level $PROJECT directory"
57 echo "I am going to run ./configure with no arguments - if you wish "
58 echo "to pass any to it, please specify them on the $0 command line."
62 *xlc |
*xlc\
* |
*lcc |
*lcc\
*) am_opt
=--include-deps;;
66 (autoheader
--version) < /dev
/null
> /dev
/null
2>&1 && autoheader ||
exit 1
68 if grep "^AM_PROG_LIBTOOL" configure.
in >/dev
/null
; then
69 if test -z "$NO_LIBTOOLIZE" ; then
70 ${LIBTOOL}ize
--force --copy
78 $srcdir/configure
"$@"
80 if [ $?
-eq 0 ] ; then
81 echo "Now type 'make' to compile $PROJECT."