From a8b2c66ea52fd18461b3fc7e2f384b5a88909d7a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 22 Apr 2002 17:05:21 +0000 Subject: [PATCH] * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out and bb.out when cleaning up. --- ChangeLog | 5 +++++ lib/autoconf/general.m4 | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 26c810eb..0f10e4e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-04-22 Peter Eisentraut + + * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out + and bb.out when cleaning up. + 2002-04-22 Akim Demaille Version 2.53a. diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 0c757b4e..1e59ea9f 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -2212,7 +2212,8 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[$2]], [[$3]])], [$4], [$5]) # Compile, link, and run. # This macro can be used during the selection of a compiler. # We also remove conftest.o as if the compilation fails, some compilers -# don't remove it. +# don't remove it. We remove gmon.out and bb.out, which may be +# created during the run if the program is built with profiling support. m4_define([_AC_RUN_IFELSE], [m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl rm -f conftest$ac_exeext @@ -2224,7 +2225,7 @@ cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD m4_ifvaln([$3], [( exit $ac_status ) $3])dnl])[]dnl -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext m4_ifval([$1], +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext m4_ifval([$1], [conftest.$ac_ext])[]dnl ])# _AC_RUN_IFELSE