jorton 2003/06/17 13:44:25
Modified: . buildconf
Log:
Use the location of libtool.m4 given in the LIBTOOL_M4 environment
variable, if set.
Revision Changes Path
1.26 +3 -1 apr/buildconf
Index: buildconf
===================================================================
RCS file: /home/cvs/apr/buildconf,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -u -r1.25 -r1.26
--- buildconf 1 Jan 2003 00:01:41 -0000 1.25
+++ buildconf 17 Jun 2003 20:44:25 -0000 1.26
@@ -81,12 +81,14 @@
$libtoolize --copy --automake
ltpath=`dirname $libtoolize`
-ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4
+ltfile=${LIBTOOL_M4-`cd $ltpath/../share/aclocal ; pwd`/libtool.m4}
if [ ! -f $ltfile ]; then
echo "$ltfile not found"
exit 1
fi
+
+echo "buildconf: Using libtool.m4 at ${ltfile}."
cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' >
build/libtool.m4