]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* acgeneral.m4 (_AC_TRY_CPP): Don't filter out conftest.$ac_ext
authorAkim Demaille <akim@epita.fr>
Thu, 14 Sep 2000 07:50:14 +0000 (07:50 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 14 Sep 2000 07:50:14 +0000 (07:50 +0000)
from the output - it is only printed by Visual C that gives
correct exit status.
* aclang.m4 (AC_PROG_CPP): Don't try '${CC-cc} -nologo -E'
by the same reason.

ChangeLog
acgeneral.m4
aclang.m4
lib/autoconf/c.m4
lib/autoconf/fortran.m4
lib/autoconf/general.m4
lib/autoconf/lang.m4

index 70bb391c832e2a0244ba9b7494ef16d63d1dc437..e7c49816969f0a7391cca3adf56e36057bcd9a08 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-09-14  Pavel Roskin  <proski@gnu.org>
+
+       * acgeneral.m4 (_AC_TRY_CPP): Don't filter out conftest.$ac_ext
+       from the output - it is only printed by Visual C that gives
+       correct exit status.
+       * aclang.m4 (AC_PROG_CPP): Don't try '${CC-cc} -nologo -E'
+       by the same reason.
+
 2000-09-12  Pavel Roskin  <proski@gnu.org>
 
        * aclocal.m4 (_AC_PROG_CPP_WORKS): Don't use AC_REQUIRE_CPP -
index 9d228b78b32520a45258e669408e74c927c74ec7..5ef0351cb395ffc836c5a91d25198953f186a77a 100644 (file)
@@ -3294,7 +3294,7 @@ popdef([AC_Lib_Name])dnl
 AC_DEFUN([_AC_TRY_CPP],
 [ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
 if AC_TRY_EVAL(ac_try); then
-  if egrep -v '^( *\+|conftest.'"$ac_ext"'$)' conftest.err | grep . >/dev/null
+  if egrep -v '^ *\+' conftest.err | grep . >/dev/null
   then
     ac_cpp_err=$ac_[]AC_LANG_ABBREV[]_preproc_warn_flag
   else
index a762cfce26c455cb568e8358bfcebdda3002b01f..22ce95dff5293695f0608b8823ecc71752608707 100644 (file)
--- a/aclang.m4
+++ b/aclang.m4
@@ -615,8 +615,7 @@ fi
 if test -z "$CPP"; then
   AC_CACHE_VAL(ac_cv_prog_CPP,
   [dnl
-    for ac_tmp_cpp in '${CC-cc} -E' '${CC-cc} -E -traditional-cpp' \
-                      '${CC-cc} -nologo -E' '/lib/cpp'
+    for ac_tmp_cpp in '${CC-cc} -E' '${CC-cc} -E -traditional-cpp' '/lib/cpp'
     do
       # CPP needs to be expanded
       eval "CPP=\"$ac_tmp_cpp\""
index a762cfce26c455cb568e8358bfcebdda3002b01f..22ce95dff5293695f0608b8823ecc71752608707 100644 (file)
@@ -615,8 +615,7 @@ fi
 if test -z "$CPP"; then
   AC_CACHE_VAL(ac_cv_prog_CPP,
   [dnl
-    for ac_tmp_cpp in '${CC-cc} -E' '${CC-cc} -E -traditional-cpp' \
-                      '${CC-cc} -nologo -E' '/lib/cpp'
+    for ac_tmp_cpp in '${CC-cc} -E' '${CC-cc} -E -traditional-cpp' '/lib/cpp'
     do
       # CPP needs to be expanded
       eval "CPP=\"$ac_tmp_cpp\""
index a762cfce26c455cb568e8358bfcebdda3002b01f..22ce95dff5293695f0608b8823ecc71752608707 100644 (file)
@@ -615,8 +615,7 @@ fi
 if test -z "$CPP"; then
   AC_CACHE_VAL(ac_cv_prog_CPP,
   [dnl
-    for ac_tmp_cpp in '${CC-cc} -E' '${CC-cc} -E -traditional-cpp' \
-                      '${CC-cc} -nologo -E' '/lib/cpp'
+    for ac_tmp_cpp in '${CC-cc} -E' '${CC-cc} -E -traditional-cpp' '/lib/cpp'
     do
       # CPP needs to be expanded
       eval "CPP=\"$ac_tmp_cpp\""
index 9d228b78b32520a45258e669408e74c927c74ec7..5ef0351cb395ffc836c5a91d25198953f186a77a 100644 (file)
@@ -3294,7 +3294,7 @@ popdef([AC_Lib_Name])dnl
 AC_DEFUN([_AC_TRY_CPP],
 [ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
 if AC_TRY_EVAL(ac_try); then
-  if egrep -v '^( *\+|conftest.'"$ac_ext"'$)' conftest.err | grep . >/dev/null
+  if egrep -v '^ *\+' conftest.err | grep . >/dev/null
   then
     ac_cpp_err=$ac_[]AC_LANG_ABBREV[]_preproc_warn_flag
   else
index a762cfce26c455cb568e8358bfcebdda3002b01f..22ce95dff5293695f0608b8823ecc71752608707 100644 (file)
@@ -615,8 +615,7 @@ fi
 if test -z "$CPP"; then
   AC_CACHE_VAL(ac_cv_prog_CPP,
   [dnl
-    for ac_tmp_cpp in '${CC-cc} -E' '${CC-cc} -E -traditional-cpp' \
-                      '${CC-cc} -nologo -E' '/lib/cpp'
+    for ac_tmp_cpp in '${CC-cc} -E' '${CC-cc} -E -traditional-cpp' '/lib/cpp'
     do
       # CPP needs to be expanded
       eval "CPP=\"$ac_tmp_cpp\""