From 976b3c3e341f84fd4d76d81b30e08263f72049ab Mon Sep 17 00:00:00 2001 From: Robert Boehne Date: Wed, 5 Feb 2003 06:58:45 +0000 Subject: [PATCH] * libtool.m4: Modify the sys_lib_search_path_spec to allow for either native sed or GNU sed to be used. --- ChangeLog | 5 +++++ libtool.m4 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 49851c088..e3cc606a5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-02-05 Robert Boehne + + * 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 * libtool.m4: don't use -nodefaultlibs in archive_commands diff --git a/libtool.m4 b/libtool.m4 index 3827d5998..e7c92752d 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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*) -- 2.47.2