diff --git a/ChangeLog b/ChangeLog index 973ea1ad..4a78754a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2002-06-26 Bob Friesenhahn + + * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [mingw]: Remove + extraneous '=' character which appears in gcc 3.1 + -print-search-dirs output. + Handle both upper and lower case drive letters when testing for + Windows vs POSIX style path output from -print-search-dirs + output. + 2002-06-24 Robert Boehne * ltmain.in (Piecewise linking): Add a clause to skip creating @@ -8,6 +17,7 @@ * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Need to quote [ and ] for Autoconf. + * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): HP/UX needs libltdl_cv_sys_dlopen_deplibs set to yes. @@ -31,7 +41,7 @@ terminated by all code paths. Reported by Lutz Müller -22002-06-20 Gary V. Vaughan +2002-06-20 Gary V. Vaughan From Kevin Ryde : * doc/libtool.texi (Platform quirks): s/dependan/dependen/ diff --git a/libtool.m4 b/libtool.m4 index 078e6478..ed45cf0a 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -1003,7 +1003,7 @@ version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://"` + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | egrep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is @@ -1120,8 +1120,8 @@ cygwin* | mingw* | pw32*) ;; yes,mingw*) library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://"` - if echo "$sys_lib_search_path_spec" | [egrep ';[C-Z]:/' >/dev/null]; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | [egrep ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the