+2001-07-11 Gary V. Vaughan <gary@gnu.org>
+
+ * libtool.m4 (_LT_AC_LANG_CXX_CONFIG) [hpux, linux, osf,
+ solaris]: output_verbose_link_cmd have unquoted `*' in case
+ statements for these architectures. Be sure to quote them
+ with a sed expression before passing to eval.
+ Reported by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
+
2001-07-09 Gary V. Vaughan <gary@gnu.org>
* README-alpha: s/configure.in/configure.ac.
NEWS - list of user-visible changes between releases of GNU Libtool
-New in 1.4b: 2001-??-??; CVS version 1.4a, Libtool team:
+New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team:
* Now bootstraps with autoconf-2.50 and automake-1.4-p4.
* Always try to build at least a static lib, even if both static and
shared libs were disabled.
# double_quote_subst'ed string.
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+
# Constants:
rm="rm -f"
# the conftest object file.
pre_test_object_deps_done=no
- for p in `eval $output_verbose_link_cmd`; do
+ # The `*' in the case matches for architectures that use `case' in
+ # $output_verbose_cmd can trigger glob expansion during the loop
+ # eval without this substitution.
+ output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
+
+ for p in `eval "$output_verbose_link_cmd"`; do
case $p in