libtool-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Libtool branch, master, updated. v2.2.6-88-g92a785f


From: Ralf Wildenhues
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-88-g92a785f
Date: Sat, 31 Jan 2009 14:02:02 +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, master has been updated
       via  92a785fd7eadea8db2f1b81ed0425fb93cf62874 (commit)
      from  a8bb7bd817c7606e848b4c57069d49f6b5b82ed6 (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 92a785fd7eadea8db2f1b81ed0425fb93cf62874
Author: Ralf Wildenhues <address@hidden>
Date:   Sat Jan 31 15:00:10 2009 +0100

    execute mode: do not transform *.lo or *.la arguments.
    
    * libltdl/config/ltmain.m4sh (func_mode_execute): Do not check
    arguments matching *.lo or *.la for script wrappers.
    * tests/execute-mode.at (execute mode): Add tests.
    * NEWS, THANKS: Update.
    Report by Paul Biggar.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

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

Summary of changes:
 ChangeLog                  |    7 +++++++
 NEWS                       |    1 +
 THANKS                     |    1 +
 libltdl/config/ltmain.m4sh |    2 +-
 tests/execute-mode.at      |    7 +++++++
 5 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 10fdbd9..53917f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-01-31  Ralf Wildenhues  <address@hidden>
 
+       execute mode: do not transform *.lo or *.la arguments.
+       * libltdl/config/ltmain.m4sh (func_mode_execute): Do not check
+       arguments matching *.lo or *.la for script wrappers.
+       * tests/execute-mode.at (execute mode): Add tests.
+       * NEWS, THANKS: Update.
+       Report by Paul Biggar.
+
        Nonexistent `main' does not guarantee link failure.
        * tests/fail.at (Failure tests): Use an unresolved symbol,
        rather than non-presence of `main', to provoke a link failure
diff --git a/NEWS b/NEWS
index 5116598..8c3fa33 100644
--- a/NEWS
+++ b/NEWS
@@ -30,6 +30,7 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team:
     only the default informational output. See New Features, --no-silent.
   - Link tests are guarded by cache variables so they can be avoided for
     bootstrapping purposes (e.g., when link tests are not possible).
+  - Argument mangling of execute mode has been improved (i.e., lessened).
 
 * Miscellaneous changes:
 
diff --git a/THANKS b/THANKS
index 6acff4d..b6d8b70 100644
--- a/THANKS
+++ b/THANKS
@@ -122,6 +122,7 @@
   Olaf Lenz                    address@hidden
   Olly Betts                   address@hidden
   Patrick Welche               address@hidden
+  Paul Biggar                  address@hidden
   Paul Eggert                  address@hidden
   Peter Eisentraut             address@hidden
   Peter Jeremy                 address@hidden
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 5f66471..d685d30 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -1314,7 +1314,7 @@ func_mode_execute ()
     for file
     do
       case $file in
-      -*) ;;
+      -* | *.la | *.lo ) ;;
       *)
        # Do a test to see if this is really a libtool program.
        if func_ltwrapper_script_p "$file"; then
diff --git a/tests/execute-mode.at b/tests/execute-mode.at
index fc38ece..0fba29c 100644
--- a/tests/execute-mode.at
+++ b/tests/execute-mode.at
@@ -210,4 +210,11 @@ do
   arg1=
 done
 
+# Check that .la files are not transformed by the wrapper searching loop.
+AT_CHECK([$LIBTOOL --mode=execute echo ./main liba.lo libfakelib.la], [], 
[stdout])
+# This could be .libs/lt-main or similar (or just plain `main').
+AT_CHECK([grep main stdout], [], [ignore])
+AT_CHECK([grep liba.lo stdout], [], [ignore])
+AT_CHECK([grep libfakelib.la stdout], [], [ignore])
+
 AT_CLEANUP


hooks/post-receive
--
GNU Libtool




reply via email to

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