]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4: Modify the sys_lib_search_path_spec to allow
authorRobert Boehne <rboehne@gnu.org>
Wed, 5 Feb 2003 06:58:45 +0000 (06:58 +0000)
committerRobert Boehne <rboehne@gnu.org>
Wed, 5 Feb 2003 06:58:45 +0000 (06:58 +0000)
for either native sed or GNU sed to be used.

ChangeLog
libtool.m4

index 49851c0888526058ecfc8190442fc4113bb8789c..e3cc606a56706e320464e269879db24ec5048450 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-05  Robert Boehne  <rboehne@gnu.org>
+
+       * libtool.m4: Modify the sys_lib_search_path_spec to allow
+       for either native sed or GNU sed to be used.
+
 2003-02-04  Nick Hudson  <skrll@netbsd.org>
 
        * libtool.m4: don't use -nodefaultlibs in archive_commands
index 3827d5998d1b97e1d4c009fa66ec62d2dbea0a05..e7c92752d5854f90430bdfbea578077aee82e607 100644 (file)
@@ -1226,7 +1226,7 @@ darwin* | rhapsody*)
   shlibpath_var=DYLD_LIBRARY_PATH
   shrext='$(test .$module = .yes && echo so || echo dylib)'
   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
-  sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/\nlibraries:/' | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g"`
+  sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g"`
   ;;
 
 dgux*)