From 8c23e84d7530820e5b1eb3472ebc70a53e8ee2e0 Mon Sep 17 00:00:00 2001
From: Mark Grondona <mgrondona@llnl.gov>
Date: Wed, 8 May 2002 15:12:02 +0000
Subject: [PATCH] only report that we're removing config.cache and
 config.status if they're present.

---
 autogen.sh | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 0c8ab443237..90678591d8a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -17,6 +17,12 @@ echo "running automake --add-missing ... "
 automake --add-missing
 echo "running autoconf ... "
 autoconf
-echo "removing stale config.status and config.log"
-rm -f config.status config.log
+if [ -e config.status ]; then
+  echo "removing stale config.status."
+  rm -f config.status 
+fi
+if [ -e config.log    ]; then
+  echo "removing old config.log."
+  rm -f config.log
+fi
 echo "now run ./configure to configure slurm for your environment."
-- 
GitLab