]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid a configure warning on Linux.
authorBruno Haible <bruno@clisp.org>
Sat, 10 Jun 2006 16:45:27 +0000 (16:45 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:23 +0000 (12:13 +0200)
ChangeLog
m4/libtool.m4

index c290e1d554e7e5b3860eb25b685dea690dd8fde5..e0dbe7bfeeb19914b1093d2c0066eefe784e0d1e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]: Avoid warning when
+       "parsing" /etc/ld.so.conf and empty /etc/ld.so.conf.d.
+
 2006-06-04  Bruno Haible  <bruno@clisp.org>
 
        * PACKAGING: Mention inttypes-h.m4.
index 1e481a22209b1d1af8013f5c4646202dd5420b21..01ad2fa850c6478cd943d45b099144cbf9e627e0 100644 (file)
@@ -1,5 +1,5 @@
 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
-## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
+## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006
 ## Free Software Foundation, Inc.
 ## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 ##
@@ -1574,7 +1574,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