]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 22 Apr 2002 17:05:21 +0000 (17:05 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 22 Apr 2002 17:05:21 +0000 (17:05 +0000)
and bb.out when cleaning up.

ChangeLog
lib/autoconf/general.m4

index 26c810eb57aa0c14ae69e27241350f2890e041da..0f10e4e67173221281b1633e08cdffaecb0930b5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
+
+       * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
+       and bb.out when cleaning up.
+
 2002-04-22  Akim Demaille  <akim@epita.fr>
 
        Version 2.53a.
index 0c757b4e25431b4e5ea3692e3a0c32743ffd59a1..1e59ea9fe9c024238d35f027d09e2062bbfc6961 100644 (file)
@@ -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