]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Fix quoting of eval'ed variable.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 2 May 2009 07:57:47 +0000 (09:57 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 2 May 2009 07:59:50 +0000 (09:59 +0200)
* 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 <Ralf.Wildenhues@gmx.de>
ChangeLog
libltdl/m4/libtool.m4

index 0c20a92307b1d1612a2e50f8cf9fe605ad6325be..fa3132321b726a7a99c7f3399755c5107b0d5a5d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       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  <Ralf.Wildenhues@gmx.de>
 
        Cope better with missing `makeinfo' in `bootstrap'.
index 63e831e16d1affe2876bfd4e9c426f9c5be90454..8e4bca99779b4fcec08237fc34d9b157f63e7014 100644 (file)
@@ -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"