bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in libtoolize 1.4.2


From: Stephen Booth
Subject: bug in libtoolize 1.4.2
Date: Thu, 07 Mar 2002 10:57:42 +0800

Hi,

There's a bug in libtoolize 1.4.2 that causes ltmain.sh to be installed in the 
wrong directory if autoconf/automake was set to use an auxiliary directory via 
AC_CONFIG_AUX_DIR.  The fix is very simple:

--- libtoolize  Sun Nov  4 17:29:47 2001
+++ libtoolize.new      Wed Mar  6 21:53:07 2002
@@ -152,11 +152,11 @@
   exit 1
 fi
 files='config.guess config.sub ltmain.sh'
 
 auxdir=.
-auxdirline=`egrep '^AC_CONFIG_AUX_DIR' configure.in 2>/dev/null`
+auxdirline=`egrep '^AC_CONFIG_AUX_DIR' $configure_ac 2>/dev/null`
 if test -n "$auxdirline"; then
   # Handle explicit AC_CONFIG_AUX_DIR settings.
   auxdir=`echo "$auxdirline" | sed 's/^AC_CONFIG_AUX_DIR(\([^)]*\)).*$/\1/'`
 
   if test "$auxdir" = "$auxdirline"; then

Thanks,

Stephen
-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]