From 26f029849c1e25a59bfb71cfc7d1a9d41b1d1272 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sun, 5 Oct 2008 21:49:32 +0200 Subject: [PATCH] Work around AIX sh quoting issue in AC_PROG_CC_C_O. * 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 --- ChangeLog | 5 +++++ NEWS | 3 +++ THANKS | 1 + m4/minuso.m4 | 9 +++++---- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 04030550c..0b10cb156 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2008-10-05 Ralf Wildenhues + * 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 ee84444f1..1a14ec60c 100644 --- 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 9b987496a..b40cfa6c3 100644 --- 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 diff --git a/m4/minuso.m4 b/m4/minuso.m4 index 925baec79..d8b16200b 100644 --- a/m4/minuso.m4 +++ b/m4/minuso.m4 @@ -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. -- 2.47.2