]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 20 Apr 2005 05:34:25 +0000 (05:34 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 20 Apr 2005 05:34:25 +0000 (05:34 +0000)
Remove core.conftest.* too; it's generated by Tru64 5.1.
* lib/autoconf/functions.m4
(AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
Don't bother to remove core files; AC_RUN_IFELSE should do that for you.

ChangeLog
lib/autoconf/functions.m4
lib/autoconf/general.m4

index fd6bfa5bf1aca3889968b162bbe126c365d6f6c2..27b6a9dee04c7001b51fbbf08526616b05206cf3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2005-04-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
+       Remove core.conftest.* too; it's generated by Tru64 5.1.
+       Problem reported by Jennis Pruett.
+       * lib/autoconf/functions.m4
+       (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
+       Don't bother to remove core files; AC_RUN_IFELSE should do that
+       for you.
+
 2005-04-19  Stepan Kasal  <kasal@ucw.cz>
 
        * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
index 569aa71de9c4e83fa3a2c37b0ad1cb3444a3f89f..be02455e5f0c111b0a8a2274f2792043cb8ff2ff 100644 (file)
@@ -1,6 +1,7 @@
 # This file is part of Autoconf.                       -*- Autoconf -*-
 # Checking for functions.
-# Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software
+# Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -1621,7 +1622,7 @@ AC_CACHE_CHECK(whether setvbuf arguments are reversed,
                putchar ('\r');
                exit (0); /* Non-reversed systems SEGV here.  */]])],
           [ac_cv_func_setvbuf_reversed=yes],
-          [rm -f core *.core],
+          [],
           [[: # Assume setvbuf is not reversed when cross-compiling.]])]
        ac_cv_func_setvbuf_reversed=yes)])])
 if test $ac_cv_func_setvbuf_reversed = yes; then
@@ -1679,8 +1680,7 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
          && t.st_mtime - s.st_mtime < 120));]])],
              ac_cv_func_utime_null=yes,
              ac_cv_func_utime_null=no,
-             ac_cv_func_utime_null=no)
-rm -f core *.core])
+             ac_cv_func_utime_null=no)])
 if test $ac_cv_func_utime_null = yes; then
   AC_DEFINE(HAVE_UTIME_NULL, 1,
            [Define to 1 if `utime(file, NULL)' sets file's timestamp to the
index f81f0bfab9224f78b58c04fb43c16b991287c4f0..5f761e2ea3fb9fa81820f22265698fbf89a67bfe 100644 (file)
@@ -1289,7 +1289,7 @@ trap 'exit_status=$?
       echo "$as_me: caught signal $ac_signal"
     echo "$as_me: exit $exit_status"
   } >&AS_MESSAGE_LOG_FD
-  rm -f core *.core &&
+  rm -f core *.core core.conftest.* &&
   rm -f -r conftest* confdefs* conf$[$]* $ac_clean_files &&
     exit $exit_status
      ' 0
@@ -2375,7 +2375,7 @@ _AC_MSG_LOG_CONFTEST
 m4_ifvaln([$3],
          [( exit $ac_status )
 $3])dnl])[]dnl
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext m4_ifval([$1],
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext m4_ifval([$1],
                                                     [conftest.$ac_ext])[]dnl
 ])# _AC_RUN_IFELSE