From: Ralf Wildenhues Date: Wed, 12 Jan 2005 13:00:41 +0000 (+0000) Subject: * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: While "parsing" X-Git-Tag: release-1-5-12~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a401f7a898e5bd1859ece68b5ec5c290f9ccddd1;p=thirdparty%2Flibtool.git * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: While "parsing" /etc/ld.so.conf, skip comments. Reported by Jens Elkner . --- diff --git a/ChangeLog b/ChangeLog index 22a0a1c82..c23dc1b68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-01-12 Ralf Wildenhues + + * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: While "parsing" + /etc/ld.so.conf, skip comments. + Reported by Jens Elkner . + 2005-01-08 Gary V. Vaughan * m4/libtool.m4, m4/ltdl.m4: RMS says, 'I think the [license of diff --git a/libtool.m4 b/libtool.m4 index 04511ec1e..81603c333 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -1444,7 +1444,7 @@ linux*) # 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)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' | tr '\n' ' '` + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi