From: Akim Demaille Date: Mon, 19 Mar 2001 13:32:34 +0000 (+0000) Subject: * acgeneral.m4 (_AC_PREPROC_IFELSE): Redirect stdout out of the X-Git-Tag: autoconf-2.50~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21d57428ee8293fbbffbcd2a0c75f18fe6f82e46;p=thirdparty%2Fautoconf.git * acgeneral.m4 (_AC_PREPROC_IFELSE): Redirect stdout out of the _AC_EVAL_STDERR invocation to avoid `illegal io' on Ultrix. Reported by Harlan Stenn, and fixed by Jim Meyering. --- diff --git a/ChangeLog b/ChangeLog index a614bdefd..02d184412 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-03-19 Akim Demaille + + * acgeneral.m4 (_AC_PREPROC_IFELSE): Redirect stdout out of the + _AC_EVAL_STDERR invocation to avoid `illegal io' on Ultrix. + Reported by Harlan Stenn, and fixed by Jim Meyering. + 2001-03-19 Akim Demaille * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Don't hard code diff --git a/acgeneral.m4 b/acgeneral.m4 index 70680c18a..de8738c33 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -2712,7 +2712,7 @@ m4_popdef([AC_Lib_Name])dnl # This macro can be used during the selection of a preprocessor. AC_DEFUN([_AC_PREPROC_IFELSE], [m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl -if _AC_EVAL_STDERR([$ac_cpp conftest.$ac_ext >/dev/null]); then +if _AC_EVAL_STDERR([$ac_cpp conftest.$ac_ext]) >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_[]_AC_LANG_ABBREV[]_preproc_warn_flag else diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 70680c18a..de8738c33 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -2712,7 +2712,7 @@ m4_popdef([AC_Lib_Name])dnl # This macro can be used during the selection of a preprocessor. AC_DEFUN([_AC_PREPROC_IFELSE], [m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl -if _AC_EVAL_STDERR([$ac_cpp conftest.$ac_ext >/dev/null]); then +if _AC_EVAL_STDERR([$ac_cpp conftest.$ac_ext]) >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_[]_AC_LANG_ABBREV[]_preproc_warn_flag else