From: Akim Demaille Date: Fri, 4 May 2001 10:57:35 +0000 (+0000) Subject: * m4/sanity.m4: Remove the temp file before possible error exits. X-Git-Tag: handle-languages~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=168b9f0d397c4b3d527622f1b882a20f396387fe;p=thirdparty%2Fautomake.git * m4/sanity.m4: Remove the temp file before possible error exits. --- diff --git a/ChangeLog b/ChangeLog index 9bee3f098..5b180563e 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 7d3906010..ba0dcea3e 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 625a8b0a2..1bb40c4b4 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 b38b1102f..4259aec9d 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)])