apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jus...@erenkrantz.com>
Subject Re: svn commit: r125162 - /apr/apr/trunk/buildconf
Date Sun, 16 Jan 2005 18:06:16 GMT
On Fri, Jan 14, 2005 at 10:25:49AM -0000, martin@apache.org wrote:
> @@ -45,8 +45,9 @@
>  if [ -f libtool.m4 ]; then 
>     ltfile=`pwd`/libtool.m4
>  else
> -   ltpath=`dirname $libtoolize`
> -   ltfile=${LIBTOOL_M4-`cd $ltpath/../share/aclocal ; pwd`/libtool.m4}
> +   libtool=`build/PrintPath glibtool libtool libtool15 libtool14`
> +   ltpath=`dirname $libtool`
> +   ltfile=${LIBTOOL_M4-`cd $ltpath/../share/aclocal ; pwd`/`basename $libtool`.m4}
>  fi

This busts on Darwin as it uses libtool.m4 even though libtool is glibtool.
And, libtoolize is usually going to be in the same location as libtool, so why
the need for the extra PrintPath call?

I think the right way to do it is to first check for libtool.m4, then check
for 'echo $libtoolize | sed -e s/ize//g'.m4 in the aclocal dir.  -- justin

Mime
View raw message