1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

* autogen.sh: remove support for libltdl sub-configure.

(ac_version): widen support check to any 2.5?  autoconf version.
2.54 is out now.
This commit is contained in:
Rob Browning 2002-10-05 04:55:57 +00:00
parent 1c09a4c30f
commit 39eef5091d

View file

@ -48,8 +48,14 @@ 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 ;;
esac
# configure.in reqs autoconf-2.53; try to find it
if test -z "$autoconf"; then
for suf in "-2.53" "2.53" "" false; do
version=`autoconf$suf --version 2>/dev/null | head -1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'`
if test "0$version" -eq 253; then
@ -58,6 +64,7 @@ for suf in "-2.53" "2.53" "" false; do
break
fi
done
fi
if test -z "$autoconf"; then
echo "ERROR: Please install autoconf 2.53"
@ -94,13 +101,6 @@ $autoconf
$automake --add-missing
$automake --add-missing
# Make sure that libltdl uses the same autoconf version as the rest.
#
echo "libltdl..."
(cd libltdl && aclocal)
(cd libltdl && autoconf)
(cd libltdl && $automake --gnu --add-missing)
echo "guile-readline..."
(cd guile-readline && ./autogen.sh)