[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool.m4-mingw-lib-searchdirs-01.patch
From: |
Robert Boehne |
Subject: |
Re: libtool.m4-mingw-lib-searchdirs-01.patch |
Date: |
Tue, 31 Jul 2001 15:28:12 -0500 |
OK, I'm checking this in.
Robert
Guido Draheim wrote:
>
> see libtool-ML under subject:
> mingw32 cross-compile: sys_lib_search_path setting insuffient
> this patch does a tr-PATH_SEPARATOR-to-space.
> The patch is over current libtool-cvs, and has been tested
> to fix my problem - libs installed in gcc's sys_lib are
> now found as a file as is needed for filemagic check w.r.t
> -no-undefined.
>
> cheers, guido (not subscribed to address@hidden)
>
> ------------------------------------------------------------------------
> --- libtool.m4.orig Sun Jul 22 22:16:21 2001
> +++ libtool.m4 Sun Jul 22 23:02:17 2001
> @@ -1052,6 +1052,17 @@
> 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://" -e "s/;/ /g"`
> + if test "_$PATH_SEPARATOR" = "_:" ; then
> + sys_lib_search_path_spec=`echo $sys_lib_search_path_spec | sed -e
> 's/:/ /g'`
> + elif test "_$PATH_SEPARATOR" = "_;" ; then
> + sys_lib_search_path_spec=`echo $sys_lib_search_path_spec | sed -e
> 's/;/ /g'`
> + else
> + if test "x$sys_lib_search_path_spec" != `echo
> x$sys_lib_search_path_spec | sed -e 's/;/ /'` ; then
> + AC_MSG_ERROR(PATH_SEPARATOR not set, but $CC -print-search-dirs
> contains semicolons)
> + elif test "x$sys_lib_search_path_spec" != `echo
> x$sys_lib_search_path_spec | sed -e 's/:/ /'` ; then
> + AC_MSG_ERROR(PATH_SEPARATOR not set, but $CC -print-search-dirs
> contains colons)
> + fi
> + fi
> ;;
> yes,pw32*)
> library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo
> ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
--
Robert Boehne Software Engineer
Ricardo Software Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email: address@hidden