Only fix libltdl/configure.in if it exists. Current libtool CVS does
authorMarius Vollmer <mvo@zagadka.de>
Sun, 7 Jul 2002 19:39:21 +0000 (19:39 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Sun, 7 Jul 2002 19:39:21 +0000 (19:39 +0000)
not need this fix.

autogen.sh

index 3ba9cee..40f71ec 100755 (executable)
@@ -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