From eee6a71ff15d8aa9af4b1458384ec752d19f3b92 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 4 May 2001 10:57:33 +0000 Subject: [PATCH] * m4/sanity.m4: Remove the temp file before possible error exits. --- ChangeLog | 4 ++++ aclocal.m4 | 2 +- configure | 2 +- m4/sanity.m4 | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9bee3f09..5b180563 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-05-04 Peter Eisentraut + + * m4/sanity.m4: Remove the temp file before possible error exits. + 2001-05-04 Akim Demaille * configure.in: Set perllibdir. diff --git a/aclocal.m4 b/aclocal.m4 index 7d390601..ba0dcea3 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -116,6 +116,7 @@ if ( # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi + rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then @@ -136,7 +137,6 @@ else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi -rm -f conftest* AC_MSG_RESULT(yes)]) diff --git a/configure b/configure index 625a8b0a..1bb40c4b 100755 --- a/configure +++ b/configure @@ -624,6 +624,7 @@ if ( # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi + rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then @@ -644,7 +645,6 @@ else { echo "configure: error: newly created file is older than distributed files! Check your system clock" 1>&2; exit 1; } fi -rm -f conftest* echo "$ac_t""yes" 1>&6 if test "$program_transform_name" = s,x,x,; then program_transform_name= diff --git a/m4/sanity.m4 b/m4/sanity.m4 index b38b1102..4259aec9 100644 --- a/m4/sanity.m4 +++ b/m4/sanity.m4 @@ -22,6 +22,7 @@ if ( # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi + rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then @@ -42,5 +43,4 @@ else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi -rm -f conftest* AC_MSG_RESULT(yes)]) -- 2.43.5