]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
authorAkim Demaille <akim@epita.fr>
Mon, 27 Oct 2003 11:12:49 +0000 (11:12 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 27 Oct 2003 11:12:49 +0000 (11:12 +0000)
Don't remove core.* as it may remove valid user files.
* lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
(AC_FUNC_UTIME_NULL): Likewise.

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

index 97f13f27f12cb2d8a8dced83a7950aa17e6d47ab..e0b303904bc97da753e251f3f9b4105e7743b4f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-10-27  Akim Demaille  <akim@epita.fr>
+
+       * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
+       Don't remove core.* as it may remove valid user files.
+       * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
+       (AC_FUNC_UTIME_NULL): Likewise.
+
 2003-10-23  Akim Demaille  <akim@epita.fr>
 
        Version 2.57g.
diff --git a/NEWS b/NEWS
index a4c281ecbcf474f40f56e6a2bf3349b38b4affbf..af82355d78bd27aa5df0c58d6ff3ce00e4f9bfeb 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 * Major changes in Autoconf 2.57h                       -*- outline -*-
 
+** core.*
+  core.* files are no longer removed, as they may be valid user files.
+
 * Major changes in Autoconf 2.57g
 
   Released 2003-10-24, by Akim Demaille
index d1bf207aa717d182f387f085f2bd50563184b6b5..f87eaaf1064f6c768feaab29b2a38eda86d981a6 100644 (file)
@@ -1618,8 +1618,8 @@ AC_CACHE_CHECK(whether setvbuf arguments are reversed,
                  exit (1);
                putchar ('\r');
                exit (0); /* Non-reversed systems SEGV here.  */]])],
-          ac_cv_func_setvbuf_reversed=yes,
-          rm -f core core.* *.core,
+          [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
@@ -1678,7 +1678,7 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
              ac_cv_func_utime_null=yes,
              ac_cv_func_utime_null=no,
              ac_cv_func_utime_null=no)
-rm -f core core.* *.core])
+rm -f core *.core])
 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 3981ccfb208100d6ab6e75a9ea948d557934201b..581c170880214aadb674187905fa19c5511325ee 100644 (file)
@@ -1191,7 +1191,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.* *.core &&
+  rm -f core *.core &&
   rm -rf conftest* confdefs* conf$[$]* $ac_clean_files &&
     exit $exit_status
      ' 0
@@ -2256,7 +2256,7 @@ _AC_MSG_LOG_CONFTEST
 m4_ifvaln([$3],
          [( exit $ac_status )
 $3])dnl])[]dnl
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext m4_ifval([$1],
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext m4_ifval([$1],
                                                     [conftest.$ac_ext])[]dnl
 ])# _AC_RUN_IFELSE