summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2002-10-05 11:52:07 +0000
committerMarius Vollmer <mvo@zagadka.de>2002-10-05 11:52:07 +0000
commit47f2f62523e026710fbc5889947d05b829a62619 (patch)
tree439f321998567b71a8241c1d666e086093ea3946 /autogen.sh
parentbdcccc1806105a5556cb13a0dd92db7a2de1a070 (diff)
downloadguile-47f2f62523e026710fbc5889947d05b829a62619.tar.gz
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.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index a99f69987..00252629b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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