summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2002-07-07 19:39:21 +0000
committerMarius Vollmer <mvo@zagadka.de>2002-07-07 19:39:21 +0000
commit452e3661981e914e08679d6e087d96b4b9825fea (patch)
tree103b39ab6513bff477bf0d2818623c0418856fe6 /autogen.sh
parent0db83c0423ef8ba54c5fcb3ef7bbf2b7c2560481 (diff)
downloadguile-452e3661981e914e08679d6e087d96b4b9825fea.tar.gz
Only fix libltdl/configure.in if it exists. Current libtool CVS does
not need this fix.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/autogen.sh b/autogen.sh
index 3ba9ceec2..40f71ec01 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -47,11 +47,14 @@ $mscripts/render-bugs > BUGS
rm -rf libltdl
libtoolize --force --copy --automake --ltdl
+# Fix older versions of libtool.
# Make sure we use a ./configure.in compatible autoconf in ./libltdl/
-mv libltdl/configure.in libltdl/configure.tmp
-echo 'AC_PREREQ(2.50)' > libltdl/configure.in
-cat libltdl/configure.tmp >> libltdl/configure.in
-rm libltdl/configure.tmp
+if [ -f libltdl/configure.in ]; then
+ mv libltdl/configure.in libltdl/configure.tmp
+ echo 'AC_PREREQ(2.50)' > libltdl/configure.in
+ cat libltdl/configure.tmp >> libltdl/configure.in
+ rm libltdl/configure.tmp
+fi
######################################################################
autoheader