]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Amend a missed opt_mode rename instance in ltmain.m4sh.
authorGary V. Vaughan <gary@gnu.org>
Sun, 27 Jun 2010 07:54:57 +0000 (14:54 +0700)
committerGary V. Vaughan <gary@gnu.org>
Sun, 27 Jun 2010 07:54:57 +0000 (14:54 +0700)
* libltdl/config/ltmain.m4sh <mode>: Rename to opt_mode.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
ChangeLog
libltdl/config/ltmain.m4sh

index 853ee86ab853908653737bc462af76e04017f661..dd9f8616f0be6f197128be7e78eca398e6ff14e8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-06-27  Gary V. Vaughan  <gary@gnu.org>
 
+       Amend a missed opt_mode rename instance in ltmain.m4sh.
+       * libltdl/config/ltmain.m4sh <mode>: Rename to opt_mode.
+
        Fix portability regressions in today's earlier changeset.
        * libltdl/m4/libtool.m4 (_LT_PROG_XSI_REPLACE): `sed -i' is not
        portable; use `mv -f ...|| cp -f ...' instead.
index 02623224c33f7cf90751237b6cbe383f60f4a9e6..59fbdb702df305f7b573dc9cb6fcfc64c0a8d9aa 100644 (file)
@@ -137,7 +137,6 @@ magic="%%%MAGIC variable%%%"
 magic_exe="%%%MAGIC EXE variable%%%"
 
 # Global variables.
-# $mode is unset
 nonopt=
 preserve_args=
 lo2o="s/\\.lo\$/.${objext}/"
@@ -5364,7 +5363,7 @@ func_mode_link ()
            linklib=$newlib
          fi # test -n "$old_archive_from_expsyms_cmds"
 
-         if test "$linkmode" = prog || test "$mode" != relink; then
+         if test "$linkmode" = prog || test "$opt_mode" != relink; then
            add_shlibpath=
            add_dir=
            add=