From: Paul Eggert Date: Wed, 20 Apr 2005 05:34:25 +0000 (+0000) Subject: * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE): X-Git-Tag: AUTOCONF-2.59c~413 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54cb4d63c87322fa765ffd28ba28615ceb963d91;p=thirdparty%2Fautoconf.git * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE): 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. --- diff --git a/ChangeLog b/ChangeLog index fd6bfa5bf..27b6a9dee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2005-04-19 Paul Eggert + + * 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 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too. diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4 index 569aa71de..be02455e5 100644 --- a/lib/autoconf/functions.m4 +++ b/lib/autoconf/functions.m4 @@ -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 diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index f81f0bfab..5f761e2ea 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -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