From dbcaeb57048bb356edd5aeb3ce8dc76f4c7961ce Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 7 Jun 2006 05:35:46 +0000 Subject: [PATCH] * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in case the compiler dumps core. Problem reported for OpenServer 5.0.7 by Tim Rice in . * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Likewise. --- ChangeLog | 9 +++++++++ lib/autoconf/c.m4 | 2 +- lib/autoconf/general.m4 | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5de87bdf..0fe7b4fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-06-06 Paul Eggert + + * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in + case the compiler dumps core. Problem reported for + OpenServer 5.0.7 by Tim Rice in + . + * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): + Likewise. + 2006-06-06 Tim Rice . * lib/freeze.mk: Quiet check-forbidden-patterns so the string diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4 index acd5aed2..b9e6e78e 100644 --- a/lib/autoconf/c.m4 +++ b/lib/autoconf/c.m4 @@ -664,7 +664,7 @@ then else eval ac_cv_prog_cc_${ac_cc}_c_o=no fi -rm -f conftest* +rm -f core conftest* ])dnl if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then AC_MSG_RESULT([yes]) diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index ec4039da..0ef455c2 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -2363,7 +2363,7 @@ AS_IF([_AC_DO_STDERR($ac_compile) && [$2], [_AC_MSG_LOG_CONFTEST $3]) -rm -f conftest.err conftest.$ac_objext m4_ifval([$1], [conftest.$ac_ext])[]dnl +rm -f core conftest.err conftest.$ac_objext m4_ifval([$1], [conftest.$ac_ext])[]dnl ])# _AC_COMPILE_IFELSE @@ -2403,7 +2403,7 @@ AS_IF([_AC_DO_STDERR($ac_link) && [$2], [_AC_MSG_LOG_CONFTEST $3]) -rm -f conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext m4_ifval([$1], [conftest.$ac_ext])[]dnl ])# _AC_LINK_IFELSE