buildconf revision 9a57324b50d0c133068e05973aaa83bd70daad24
# TODO - Steal the new PHP buildconf and build.mk.
# This will do for now, though
# do some version checking for the tools we use
if test "$1" = "--force"; then
shift
# this is a posix correct "test -nt"
:
else
echo "buildconf: checking installation..."
# autoconf will check for the version itself
# automake 1.4 or newer
if test "$am_version" = ""; then
echo "buildconf: automake not found."
echo " You need automake version 1.4 or newer installed"
echo " to build APACHE from CVS."
exit 1
fi
echo "buildconf: automake version $am_version found."
echo " You need automake version 1.4 or newer installed"
echo " to build APACHE from CVS."
exit 1
else
echo "buildconf: automake version $am_version (ok)"
fi
# libtool 1.3.3 or newer
if test "$lt_pversion" = ""; then
echo "buildconf: libtool not found."
echo " You need libtool version 1.3 or newer installed"
echo " to build APACHE from CVS."
exit 1
fi
then
echo "buildconf: libtool version $lt_pversion (ok)"
else
echo "buildconf: libtool version $lt_pversion found."
echo " You need libtool version 1.3.3 or newer installed"
echo " to build APACHE from CVS."
exit 1
fi
fi
if test "$am_prefix" != "$lt_prefix"; then
echo "buildconf: WARNING: automake and libtool are installed in different"
echo " directories. This may cause aclocal to fail."
echo "buildconf: continuing anyway"
fi
if test "$supplied_flag" = "--copy"; then
fi
echo "buildconf: ERROR: aclocal failed, probably because automake and"
echo " libtool are installed with different prefixes;"
echo " automake is installed in $am_prefix, but libtool in $lt_prefix."
echo " and try again."
exit 1
fi
echo "buildconf: keeping aclocal.m4"
else
echo "buildconf: created or modified aclocal.m4"
fi
# find all Makefile.ams
files="Makefile `find ap lib main modules regex os -name Makefile.am | sed 's#\.am##' | tr '\n' ' '`"
# suppress stupid automake warning
echo "buildconf: keeping configure"
else
echo "buildconf: created or modified configure"
fi
# Now do APR...
echo "buildconf: setting up APR"
echo "buildconf: keeping configure"
else
echo "buildconf: created or modified configure"
fi
cd ../..
# Remove cached config data
rm -f config.cache