]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Fix build failure with AIX sh due to shell quoting error.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 3 Aug 2010 19:49:10 +0000 (21:49 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 3 Aug 2010 19:49:10 +0000 (21:49 +0200)
* libltdl/config/ltmain.m4sh (func_append_quoted): Document
that this function inserts a separator space.
(func_mode_compile): Do not pass extra space here.
Fixes regression introduced in v2.2.10-49-gc13532a.
Report by Rainer Tammer.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
libltdl/config/ltmain.m4sh

index 3655c07dd110a64fa134015fbb2110c3f3e66e38..f8a2fc729eaa63eb4069a0a9921fb3eea75dc377 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-08-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Fix build failure with AIX sh due to shell quoting error.
+       * libltdl/config/ltmain.m4sh (func_append_quoted): Document
+       that this function inserts a separator space.
+       (func_mode_compile): Do not pass extra space here.
+       Fixes regression introduced in v2.2.10-49-gc13532a.
+       Report by Rainer Tammer.
+
 2010-08-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Fix pic_flag test unportabilities.
index 897a5e89d83d5dbd1609b0cda182f35d3698aa80..193ff1a4c0da379db4d6e45defb17279677fb4fb 100644 (file)
@@ -157,7 +157,8 @@ func_append ()
 } # func_append may be replaced by extended shell implementation
 
 # func_append_quoted var value
-# Quote VALUE and append to the end of shell variable VAR.
+# Quote VALUE and append to the end of shell variable VAR, separated
+# by a space.
 func_append_quoted ()
 {
     func_quote_for_eval "${2}"
@@ -710,7 +711,7 @@ func_mode_compile ()
          save_ifs="$IFS"; IFS=','
          for arg in $args; do
            IFS="$save_ifs"
-           func_append_quoted lastarg " $arg"
+           func_append_quoted lastarg "$arg"
          done
          IFS="$save_ifs"
          func_stripname ' ' '' "$lastarg"