[Expat-discuss] [PATCH] libtool.m4 detection

Greg Stein gstein at lyra.org
Tue Jun 17 19:16:59 EDT 2003


Applied in revision 1.10 of buildconf.sh with some minor changes.

Thanks, Joe!

Cheers,
-g

On Tue, Jun 17, 2003 at 09:56:12PM +0100, Joe Orton wrote:
> 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

-- 
Greg Stein, http://www.lyra.org/



More information about the Expat-discuss mailing list