libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch #6448] [MSVC 7/7] Add MSVC Support


From: Ralf Wildenhues
Subject: Re: [patch #6448] [MSVC 7/7] Add MSVC Support
Date: Wed, 13 Aug 2008 07:44:39 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* Ralf Wildenhues wrote on Wed, Aug 13, 2008 at 07:21:07AM CEST:
> Sorry for the delay.  I pushed that patch to the msvc branch.

> 2008-08-13  Ralf Wildenhues  <address@hidden>
>           Peter Rosin  <address@hidden>
> 
>       Support for response files with $NM.
>       * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <nm_file_list_spec>:
>       New tag variable.
>       [ cygwin, mingw, cegcc ] <cl*>: Set to '@'.
>       (_LT_LANG_CXX_CONFIG): Likewise.
>       * libltdl/config/ltmain.m4sh (func_mode_link): When
>       nm_file_list_spec is nonempty, use it to avoid skipped_export.

And obviously I didn't think before committing.  Sorry about that.

Cheers,
Ralf

2008-08-13  Ralf Wildenhues  <address@hidden>

        * libltdl/m4/libtool.m4 (_LT_PROG_AR, LT_PATH_NM): Fix bogus
        uses of _LT_TAGVAR.  Hide `ar' error message escape from command
        line.

diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 0b88f76..7ceec66 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1367,7 +1367,7 @@ AC_CACHE_CHECK([the archiver ($AR) 
interface],[lt_cv_ar_interface],
   (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
   (eval "$ac_compile" 2>conftest.err)
   cat conftest.err >&AS_MESSAGE_LOG_FD
-  (eval "$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext" &>conftest.err)
+  (eval "$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext" >conftest.err 2>&1)
   ac_status=$?
   cat conftest.err >&AS_MESSAGE_LOG_FD
   test $ac_status = 0 && test -f conftest.lib && lt_cv_ar_interface="lib"
@@ -1379,16 +1379,16 @@ ar)
   : ${AR_TFLAGS=t}
   : ${AR_XFLAGS=x}
   test -z "$AR_SEP" && AR_SEP=' '
-  _LT_TAGVAR(ar_extract_one_by_one, $1)=no
-  _LT_TAGVAR(archiver_list_spec, $1)=
+  ar_extract_one_by_one=no
+  archiver_list_spec=
   ;;
 lib)
   : ${AR_FLAGS="-NOLOGO -OUT:"}
   : ${AR_TFLAGS="-NOLOGO -LIST "}
   : ${AR_XFLAGS="-NOLOGO -EXTRACT:"}
   test -z "$AR_SEP" && AR_SEP=''
-  _LT_TAGVAR(ar_extract_one_by_one, $1)=yes
-  _LT_TAGVAR(archiver_list_spec, $1)='@'
+  ar_extract_one_by_one=yes
+  archiver_list_spec='@'
   # Don't use ranlib
   : ${RANLIB=:}
   ;;
@@ -3346,7 +3346,7 @@ AC_CACHE_CHECK([the name lister ($NM) interface], 
[lt_cv_nm_interface],
   rm -f conftest*])
 
 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
-  _LT_TAGVAR(nm_file_list_spec, $1)='@'
+  nm_file_list_spec='@'
 fi
 
 _LT_DECL([], [nm_file_list_spec], [1],




reply via email to

[Prev in Thread] Current Thread [Next in Thread]