summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-10-08 03:25:28 +0200
committerKevin Ryde <user42@zip.com.au>2001-10-08 03:25:28 +0200
commitabc52e3e3fb6f445454fbe05f0c25fec41312c08 (patch)
treeb31ef0ea3b11c5d91ace44a01c930ba1fa320499 /aclocal.m4
parent52fe8502ea51adba552a5979491de7c27bb909c8 (diff)
downloadgmp-abc52e3e3fb6f445454fbe05f0c25fec41312c08.tar.gz
The +Z part of:
* aclocal.m4: Regenerate with libtool patches for sed char range to help Cray, LTCC quotes and +Z warnings grep to help HP-UX.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m415
1 files changed, 8 insertions, 7 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 71bf73410..726d6861b 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -2434,13 +2434,14 @@ AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
if (eval $ac_compile 2>conftest.err) && test -s $ac_outfile; then
# The compiler can only warn and ignore the option if not recognized
- # So say no if there are warnings
- if test -s conftest.err; then
- # Append any errors to the config.log.
- cat conftest.err 1>&AS_MESSAGE_LOG_FD
- else
- $2=yes
- fi
+ # So say no if there are warnings mentioning the option
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
+ $2=yes
+ for lt_i in $3; do
+ if grep -- $lt_i conftest.err >/dev/null; then
+ $2=no
+ fi
+ done
fi
$rm conftest*
CFLAGS="$save_CFLAGS"