1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

Make sure that $autoheader is always set. When we would use the plain

"autoconf", $autoheader would end up empty and libguile/scmconfig.h.in
would not be updated.
This commit is contained in:
Marius Vollmer 2002-10-05 11:52:07 +00:00
parent bdcccc1806
commit 47f2f62523

View file

@ -51,7 +51,7 @@ libtoolize --force --copy --automake
ac_version=`autoconf --version | head -1`
ac_version=`echo ${ac_version} | sed -e 's/autoconf.* \([0-9].[0-9]\+\)$/\1/'`
case "${ac_version}" in
(2.5?) autoconf=autoconf ;;
(2.5?) autoconf=autoconf; autoheader=autoheader ;;
esac
# configure.in reqs autoconf-2.53; try to find it
@ -75,7 +75,7 @@ fi
#detect automake version
# configure.in reqs autoconf-2.53; try to find it
# configure.in reqs automake-1.6; try to find it
for suf in "-1.6" "1.6" "" false; do
version=`automake$suf --version 2>/dev/null | head -1 | awk '{print $NF}' | awk -F. '{print $1 * 10 + $2}'`
if test "0$version" -eq 16; then