* 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.
This commit is contained in:
Gary V. Vaughan 2002-06-26 07:15:36 +00:00
parent 746b7cba7b
commit d3fedfe52d
2 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,12 @@
2002-06-26 Bob Friesenhahn <bfreisen@simple.dallas.tx.us>
* 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 <rboehne@gnu.org>
* 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 <lutz@users.sourceforge.net>
22002-06-20 Gary V. Vaughan <gary@gnu.org>
2002-06-20 Gary V. Vaughan <gary@gnu.org>
From Kevin Ryde <user42@zip.com.au>:
* doc/libtool.texi (Platform quirks): s/dependan/dependen/

6
libtool.m4 vendored
View File

@ -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