Ignore lines in ld.so.conf starting with 'hwcap '.
+2007-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]:
+ Ignore lines in ld.so.conf starting with 'hwcap '.
+
2007-06-22 Peter O'Gorman <peter@pogma.com>
* ltmain.in (version-number) [irix]: Don't subtract 1 from
# 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