From: Ralf Wildenhues Date: Tue, 28 Mar 2006 18:11:28 +0000 (+0000) Subject: * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]: X-Git-Tag: release-2-1b~303 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22e9ff0862be4d9108f64828c6ed9a9aa65bcaea;p=thirdparty%2Flibtool.git * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]: Avoid warning when "parsing" `/etc/ld.so.conf' and empty `/etc/ld.so.conf.d'. Reported by Orion Poplawski . --- diff --git a/ChangeLog b/ChangeLog index c9f06ac34..6b01cbf8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-03-28 Ralf Wildenhues + + * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]: + Avoid warning when "parsing" `/etc/ld.so.conf' and empty + `/etc/ld.so.conf.d'. + Reported by Orion Poplawski . + 2006-03-27 Ralf Wildenhues * bootstrap: Actually use the correct version of the last patch. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index a8fb02d33..36b7e3fb3 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -2291,7 +2291,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/#.*//;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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi