* libltdl/config/ltmain.m4sh <mode>: Rename to opt_mode.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
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.
magic_exe="%%%MAGIC EXE variable%%%"
# Global variables.
-# $mode is unset
nonopt=
preserve_args=
lo2o="s/\\.lo\$/.${objext}/"
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=