]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/libtool.m4: Remove newlines from lt_ld_extra, so
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 14 Mar 2004 15:05:37 +0000 (15:05 +0000)
committerScott James Remnant <scott@netsplit.com>
Sun, 14 Mar 2004 15:05:37 +0000 (15:05 +0000)
variable can safely be stored in config.cache.

ChangeLog
m4/libtool.m4

index 25903d787a2adbdeb144385380500b4d301b91dc..3f825d340f67562f80db8edee6fc5c70b940033a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * m4/libtool.m4: Remove newlines from lt_ld_extra, so
+       variable can safely be stored in config.cache.
+
 2004-03-14  Michael Pruett  <michael@68k.org>
 
        * m4/libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS0 [irix]: Define
index 06b7c9afac95e33ed722dcbf783028a755034931..152929391851918eea802d4da8a829515ff4e461 100644 (file)
@@ -1831,7 +1831,7 @@ linux*)
 
   # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then
-    lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf`
+    lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi