diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-10-08 03:25:28 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-10-08 03:25:28 +0200 |
commit | abc52e3e3fb6f445454fbe05f0c25fec41312c08 (patch) | |
tree | b31ef0ea3b11c5d91ace44a01c930ba1fa320499 /aclocal.m4 | |
parent | 52fe8502ea51adba552a5979491de7c27bb909c8 (diff) | |
download | gmp-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.m4 | 15 |
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" |