commit f26cbb4c5b9f93b8843988146277b5de04ba0ff3
parent 04778aee7f89b0ac72c02f36a803605fb10187ce
Author: ukai <ukai>
Date: Tue, 21 Jan 2003 15:33:16 +0000
[w3m-dev 03664] config.param is clear when configure -help
* configure: config.param created after arg parsing
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat:
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 03664] config.param is clear when configure -help
+ * configure: config.param created after arg parsing
+
2003-01-21 Fumitoshi UKAI <ukai@debian.or.jp>
* map.c (follow_map_menu): if USE_IMAGE or MENU_MAP
diff --git a/configure b/configure
@@ -29,8 +29,6 @@ if [ -f config.param ] ; then
fi
fi
-echo "# Configuration at $host" > config.param
-
# parameters:
prefix=/usr/local
@@ -150,6 +148,9 @@ do
shift
done
+mv -f config.param config.param.bak
+echo "# Configuration at $host" > config.param
+
if [ "x$IMLIB_CONFIG" = x ]; then
IMLIB_CONFIG=imlib-config
fi