]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: While "parsing"
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 12 Jan 2005 13:00:41 +0000 (13:00 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 12 Jan 2005 13:00:41 +0000 (13:00 +0000)
/etc/ld.so.conf, skip comments.
Reported by Jens Elkner <elkner@linofee.org>.

ChangeLog
libtool.m4

index 22a0a1c822b3684974e8012a59165e5cc230d82b..c23dc1b68fe51bd5532f1fe4c652fe7824d7e182 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: While "parsing"
+       /etc/ld.so.conf, skip comments.
+       Reported by Jens Elkner <elkner@linofee.org>.
+
 2005-01-08  Gary V. Vaughan  <gary@gnu.org>
 
        * m4/libtool.m4, m4/ltdl.m4: RMS says, 'I think the [license of
index 04511ec1e59feb6f86754d9d1694bb12f4de2c5e..81603c333174439e602ce80ce36107b02db7ff3e 100644 (file)
@@ -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