From: Robert Boehne Date: Wed, 5 Feb 2003 06:58:45 +0000 (+0000) Subject: * libtool.m4: Modify the sys_lib_search_path_spec to allow X-Git-Tag: release-1-5~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=976b3c3e341f84fd4d76d81b30e08263f72049ab;p=thirdparty%2Flibtool.git * libtool.m4: Modify the sys_lib_search_path_spec to allow for either native sed or GNU sed to be used. --- 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*)