aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-22 15:53:12 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-22 15:53:12 +0000
commitc54597db87140c0241c2551dcebecc6aec5d5cff (patch)
tree6399f3d2cd0ae8a42d14f8ba93fa34d7a58096da /configure
parent[w3m-dev 03665] imlib2 support (on X11) (diff)
downloadw3m-c54597db87140c0241c2551dcebecc6aec5d5cff.tar.gz
w3m-c54597db87140c0241c2551dcebecc6aec5d5cff.zip
[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 (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 98aaf9d..d35137a 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.93 2003/01/21 15:38:57 ukai Exp $
+# $Id: configure,v 1.94 2003/01/22 15:53:12 ukai Exp $
# Configuration.
#
@@ -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