[SCM] GNU Libtool branch, master, updated. v2.4.2-358-g5ed7430

"Peter Rosin" <[email protected]>
Newsgroups gmane.comp.gnu.libtool.cvs
Message-ID <[email protected]>
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, master has been updated
       via  5ed7430fcb48c862c9d76ef497b73485d580338e (commit)
      from  820e373cf2521e553db409e87c4ccc5e6cc4b074 (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 5ed7430fcb48c862c9d76ef497b73485d580338e
Author: Peter Rosin <[email protected]>
Date:   Tue Jan 15 09:31:31 2013 +0100

    libtool: use false or : for $always_export_symbols, and simplify
    
    * build-aux/ltmain.in (func_mode_link): Save a string comparison
    by setting $lways_export_symbols to false or : and using it directly
    as the first argument to if. Make sure that it is always initialized
    while at it.
    
    Signed-off-by: Peter Rosin <[email protected]>

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

Summary of changes:
 build-aux/ltmain.in |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index c8cdb9c..98256a5 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -7566,6 +7566,7 @@ EOF
 	fi
 
 	orig_export_symbols=
+	always_export_symbols=false
 	case $host_os in
 	cygwin* | mingw* | cegcc*)
 	  if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
@@ -7579,7 +7580,7 @@ EOF
 	      # include_expsyms logic still works.
 	      orig_export_symbols=$export_symbols
 	      export_symbols=
-	      always_export_symbols=yes
+	      always_export_symbols=:
 	    fi
 	  fi
 	  ;;
@@ -7587,7 +7588,7 @@ EOF
 
 	# Prepare the list of exported symbols
 	if test -z "$export_symbols"; then
-	  if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then
+	  if $always_export_symbols || test -n "$export_symbols_regex"; then
 	    func_verbose "generating symbol list for '$libname.la'"
 	    export_symbols=$output_objdir/$libname.exp
 	    $opt_dry_run || $RM $export_symbols


hooks/post-receive
-- 
GNU Libtool
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.