commit f2ab09676686ceb7638c1997ef664557ec731764
parent 548de8cde5eaac8585ff1b1d6da6ef3bfa17639b
Author: ukai <ukai>
Date: Wed, 22 Jan 2003 15:53:12 +0000
[w3m-dev 03671] Re: config.param is clear when configure -help
* configure: test -f config.param
From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
Diffstat:
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-23 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
+
+ * [w3m-dev 03671] Re: config.param is clear when configure -help
+ * configure: test -f config.param
+
2003-01-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03665] imlib2 support (on X11)
diff --git a/configure b/configure
@@ -148,7 +148,9 @@ do
shift
done
-mv -f config.param config.param.bak
+if [ -f config.param ]; then
+ mv -f config.param config.param.bak
+fi
echo "# Configuration at $host" > config.param
if [ "x$IMLIB_CONFIG" = x ]; then