From 452e3661981e914e08679d6e087d96b4b9825fea Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Sun, 7 Jul 2002 19:39:21 +0000 Subject: [PATCH] Only fix libltdl/configure.in if it exists. Current libtool CVS does not need this fix. --- autogen.sh | 11 +++++++---- 1 file 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