From: Ralf Wildenhues Date: Sat, 2 May 2009 07:57:47 +0000 (+0200) Subject: Fix quoting of eval'ed variable. X-Git-Tag: v2.2.7b~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81a734cdda29f4ba61ee1f3bbbb2513ed4ed6323;p=thirdparty%2Flibtool.git 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. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 0c20a9230..fa3132321 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 63e831e16..8e4bca997 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"