apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mo DeJong <supe...@bayarea.net>
Subject Patch to remove generated libtool files (repost)
Date Wed, 03 Oct 2001 08:42:47 GMT
Hiya.

Could someone with CVS access apply this patch? It fixes a problem
that could show up if someone were to run ./buildconf using
libtool 1.3 and then again with libtool 1.4. It is an unlikely
edge case and there is no way this patch could break anything.

thanks
Mo DeJong

Index: buildconf
===================================================================
RCS file: /home/cvspublic/apr/buildconf,v
retrieving revision 1.20
diff -u -r1.20 buildconf
--- buildconf	2001/09/23 02:30:56	1.20
+++ buildconf	2001/09/27 22:42:04
@@ -74,6 +74,9 @@
 #
 echo "Copying libtool helper files ..."
 
+# Remove any libtool files so one can switch between libtool 1.3
+# and libtool 1.4 by simply rerunning the buildconf script.
+(cd build ; rm -f ltconfig ltmain.sh libtool.m4)
 $libtoolize --copy --automake
 
 ltpath=`dirname $libtoolize`
@@ -84,7 +87,6 @@
     exit 1
 fi
 
-rm -f build/libtool.m4
 cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
 
 # This is just temporary until people's workspaces are cleared -- remove

Mime
View raw message