Work around AIX sh quoting issue in AC_PROG_CC_C_O.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 5 Oct 2008 19:49:32 +0000 (21:49 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 5 Oct 2008 19:49:32 +0000 (21:49 +0200)
* m4/minuso.m4 (AM_PROG_CC_C_O): Work around shell quoting issue
with AIX sh; fixes depcomp6.test failure.
* NEWS, THANKS: Update.
Report by Rainer Tammer.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
NEWS
THANKS
m4/minuso.m4

index 0403055..0b10cb1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-10-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * m4/minuso.m4 (AM_PROG_CC_C_O): Work around shell quoting issue
+       with AIX sh; fixes depcomp6.test failure.
+       * NEWS, THANKS: Update.
+       Report by Rainer Tammer.
+
        Print captured output before failing.
        * tests/acloca14.test, tests/acloca17.test, tests/acloca18.test,
        tests/aclocal.test, tests/acsilent.test, tests/alpha.test,
diff --git a/NEWS b/NEWS
index ee84444..1a14ec6 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -106,6 +106,9 @@ Bugs fixed in 1.10a:
 
   - Fix aix dependency tracking for libtool objects.
 
+  - Work around AIX sh quoting issue in AC_PROG_CC_C_O, leading to
+    unnecessary use of the `compile' script.
+
   - For nobase_*_LTLIBRARIES with nonempty directory components, the
     correct `-rpath' argument is used now.
 
diff --git a/THANKS b/THANKS
index 9b98749..b40cfa6 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -254,6 +254,7 @@ Philip S Tellis             philip@ncst.ernet.in
 Пухальский Юрий Андреевич pooh@cryptopro.ru
 Rainer Orth            ro@techfak.uni-bielefeld.de
 Rafael Laboissiere     laboissiere@psy.mpg.de
+Rainer Tammer          tammer@tammer.net
 Raja R Harinath                harinath@cs.umn.edu
 Ralf Corsepius         corsepiu@faw.uni-ulm.de
 Ralf Menzel            menzel@ls6.cs.uni-dortmund.de
index 925baec..d8b1620 100644 (file)
@@ -1,12 +1,12 @@
 ##                                                          -*- Autoconf -*-
-# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
+# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
 # Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 5
+# serial 6
 
 # AM_PROG_CC_C_O
 # --------------
@@ -18,8 +18,9 @@ AC_REQUIRE_AUX_FILE([compile])dnl
 # FIXME: we rely on the cache variable name because
 # there is no other way.
 set dummy $CC
-ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
-if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
+am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
+eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
+if test "$am_t" != yes; then
    # Losing compiler, so override with the script.
    # FIXME: It is wrong to rewrite CC.
    # But if we don't then we get into trouble of one sort or another.