X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/b05e08a465dceee25798ac4fd745814cdb1b8b9b..061cde1074b33e70d8d8d611a3806282f3e2c299:/autogen.sh diff --git a/autogen.sh b/autogen.sh index 84230b5601..48e6d19c69 100755 --- a/autogen.sh +++ b/autogen.sh @@ -32,7 +32,7 @@ ## Tools we need: ## Note that we respect the values of AUTOCONF etc, like autoreconf does. -progs="autoconf automake pkg-config" +progs="autoconf automake" ## Minimum versions we need: autoconf_min=`sed -n 's/^ *AC_PREREQ(\([0-9\.]*\)).*/\1/p' configure.ac` @@ -41,7 +41,6 @@ autoconf_min=`sed -n 's/^ *AC_PREREQ(\([0-9\.]*\)).*/\1/p' configure.ac` ## AM_INIT_AUTOMAKE call. automake_min=`sed -n 's/^ *AM_INIT_AUTOMAKE(\([0-9\.]*\)).*/\1/p' configure.ac` -pkg_config_min=`sed -n 's/^ *PKG_PROG_PKG_CONFIG(\([0-9\.]*\)).*/\1/p' configure.ac` ## $1 = program, eg "autoconf". ## Echo the version string, eg "2.59". @@ -195,7 +194,7 @@ this script. If you know that the required versions are in your PATH, but this script has made an error, then you can simply run -autoreconf -i -I m4 +autoreconf -fi -I m4 instead of this script. @@ -205,18 +204,19 @@ EOF exit 1 fi -echo "Your system has the required tools, running autoreconf..." +echo 'Your system has the required tools.' +echo "Running 'autoreconf -fi -I m4' ..." ## Let autoreconf figure out what, if anything, needs doing. ## Use autoreconf's -f option in case autoreconf itself has changed. -autoreconf -f -i -I m4 || exit $? +autoreconf -fi -I m4 || exit $? ## Create a timestamp, so that './autogen.sh; make' doesn't ## cause 'make' to needlessly run 'autoheader'. echo timestamp > src/stamp-h.in || exit -echo "You can now run \`./configure'." +echo "You can now run './configure'." exit 0