diff --git a/ChangeLog b/ChangeLog index 0c20a923..fa313232 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-05-02 Ralf Wildenhues + + Fix quoting of eval'ed variable. + * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Double-quote + $lt_cv_sys_global_symbol_pipe for eval, like we do in ltmain, + in order to preserve TABs and multiple adjacent whitespace. + Report by Bruno Haible. + 2009-04-22 Ralf Wildenhues Cope better with missing `makeinfo' in `bootstrap'. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 63e831e1..8e4bca99 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -3380,7 +3380,7 @@ _LT_EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then + if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist"