[Expat-discuss] [PATCH] libtool.m4 detection
Joe Orton
joe at manyfish.co.uk
Tue Jun 17 22:56:12 EDT 2003
This patch adds support for finding libtool.m4 in places other than the
expected default using the $LIBTOOL_M4 variable. (imagine a libtool
configured with --prefix=/opt --datadir=/foo, for instance)
--- buildconf.sh.~1.9.~ 2003-06-17 21:51:49.000000000 +0100
+++ buildconf.sh 2003-06-17 21:52:33.000000000 +0100
@@ -67,9 +67,11 @@
$libtoolize --copy --automake
ltpath=`dirname $libtoolize`
-ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4
+ltfile=${LIBTOOL_M4-`cd $ltpath/../share/aclocal ; pwd`/libtool.m4}
cp $ltfile conftools/libtool.m4
+echo "Use libtool.m4 from ${ltfile}."
+
#--------------------------------------------------------------------------
### for a little while... remove stray aclocal.m4 files from
More information about the Expat-discuss
mailing list