Hi all.

Here is a very small/simple patch that fixes a problem which shows up if you run
APR's ./buildconf with libtool 1.3 on the path and then re-run it with libtool 
1.4
on the path. Libtool gets hosed in this situation, the fix is to remove the 
generated
ltconfig ltmain.sh before running libtoolize. The patch is appended.

cheers
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

Reply via email to