libtool-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Libtool branch, pr-msvc-support, updated. v2.2.4-37-g99342ae


From: Ralf Wildenhues
Subject: [SCM] GNU Libtool branch, pr-msvc-support, updated. v2.2.4-37-g99342ae
Date: Wed, 13 Aug 2008 05:15:13 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, pr-msvc-support has been updated
       via  99342aec15567f8babdb888bb8bf22b72f561f1c (commit)
      from  75220caf33f6635e80cc2b540a75d58bf0e00d46 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 99342aec15567f8babdb888bb8bf22b72f561f1c
Author: Ralf Wildenhues <address@hidden>
Date:   Wed Aug 13 07:13:06 2008 +0200

    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.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>
    Signed-off-by: Peter Rosin  <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |   11 +++++++++++
 libltdl/config/ltmain.m4sh |   20 ++++++++++++++++++--
 libltdl/m4/libtool.m4      |    7 +++++++
 3 files changed, 36 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 53efbc3..583aa2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+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.
+
 2008-08-12  Peter Rosin  <address@hidden>
 
        * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <postlink_cmds>:
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 5765b0f..b78d7ac 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -6613,14 +6613,30 @@ EOF
            $opt_dry_run || $RM $export_symbols
            cmds=$export_symbols_cmds
            save_ifs="$IFS"; IFS='~'
-           for cmd in $cmds; do
+           for cmd1 in $cmds; do
              IFS="$save_ifs"
-             eval cmd=\"$cmd\"
+             eval cmd=\"$cmd1\"
              func_len " $cmd"
              len=$func_len_result
              if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; 
then
                func_show_eval "$cmd" 'exit $?'
                skipped_export=false
+             elif test -n "$nm_file_list_spec"; then
+               output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
+               save_libobjs=$libobjs
+               save_output=$output
+               output=${output_objdir}/${output_la}.nm
+               libobjs=$nm_file_list_spec$output
+               delfiles="$delfiles $output"
+               func_verbose "creating $NM input file list: $output"
+               for obj in $save_libobjs; do
+                 $ECHO "$obj"
+               done > "$output"
+               eval cmd=\"$cmd1\"
+               func_show_eval "$cmd" 'exit $?'
+               output=$save_output
+               libobjs=$save_libobjs
+               skipped_export=false
              else
                # The command line is too long to execute in one step.
                func_verbose "using reloadable object file for export list..."
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index ad67718..0b88f76 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3344,6 +3344,13 @@ AC_CACHE_CHECK([the name lister ($NM) interface], 
[lt_cv_nm_interface],
     lt_cv_nm_interface="MS dumpbin"
   fi
   rm -f conftest*])
+
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+  _LT_TAGVAR(nm_file_list_spec, $1)='@'
+fi
+
+_LT_DECL([], [nm_file_list_spec], [1],
+    [Specify filename containing input files for $NM])
 ])# LT_PATH_NM
 
 # Old names:


hooks/post-receive
--
GNU Libtool




reply via email to

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