On Tue, 2007-06-19 at 21:17 +0200, Ralf Wildenhues wrote:

> If my above reasoning is right, then remains the question *how* to
> implement (1).  I don't see what regression the sed command
>   /^[  ]*hwcap[        ]/d
> 

Hi Ralf,
I applied this.

Thanks,
Peter

2007-06-22  Ralf Wildenhues  <[EMAIL PROTECTED]>

	* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]:
	Ignore lines in ld.so.conf starting with 'hwcap '.

Index: libtool.m4
===================================================================
RCS file: /sources/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.181
diff -u -r1.314.2.181 libtool.m4
--- libtool.m4	18 Jun 2007 02:07:45 -0000	1.314.2.181
+++ libtool.m4	24 Jun 2007 02:10:38 -0000
@@ -1620,7 +1620,7 @@
 
   # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then
-    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
+    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi
 
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to