From: Bruno Haible Date: Sat, 10 Jun 2006 16:45:27 +0000 (+0000) Subject: Avoid a configure warning on Linux. X-Git-Tag: v0.15~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=880143810694357f3801b1bb17415fa8a6530722;p=thirdparty%2Fgettext.git Avoid a configure warning on Linux. --- diff --git a/ChangeLog b/ChangeLog index c290e1d55..e0dbe7bfe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-28 Ralf Wildenhues + + * 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 * PACKAGING: Mention inttypes-h.m4. diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 1e481a222..01ad2fa85 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -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 , 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