aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-22 16:36:11 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-22 16:36:11 +0000
commita0300c84b82cf33345bdd455ee68dea7585756d1 (patch)
treeda9af1777ab5cca06879fc1d391b3b8372a14697
parent[w3m-dev 03677] view source, edit source (diff)
downloadw3m-a0300c84b82cf33345bdd455ee68dea7585756d1.tar.gz
w3m-a0300c84b82cf33345bdd455ee68dea7585756d1.zip
[w3m-dev 03678] Re: config.param is clear when configure -help
* configure: don't override config.param From: Fumitoshi UKAI <ukai@debian.or.jp>
-rw-r--r--ChangeLog7
-rwxr-xr-xconfigure17
2 files changed, 15 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index d695cb0..d595101 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-23 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * [w3m-dev 03678] Re: config.param is clear when configure -help
+ * configure: don't override config.param
+
2003-01-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03677] view source, edit source
@@ -6710,4 +6715,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.704 2003/01/22 16:16:18 ukai Exp $
+$Id: ChangeLog,v 1.705 2003/01/22 16:36:11 ukai Exp $
diff --git a/configure b/configure
index d35137a..1f347c3 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.94 2003/01/22 15:53:12 ukai Exp $
+# $Id: configure,v 1.95 2003/01/22 16:36:11 ukai Exp $
# Configuration.
#
@@ -22,13 +22,6 @@ sysversion3=`echo $sysversion | awk -F. '{print $3}'`
echo $sysname $sysversion1 $sysversion2 $sysversion3 /$platform at $host
-if [ -f config.param ] ; then
- confhost=`awk 'NR==1{print $4}' config.param`
- if [ "$confhost" = "$host" ] ; then
- . ./config.param
- fi
-fi
-
# parameters:
prefix=/usr/local
@@ -38,6 +31,14 @@ gc_includedir=
gc_libdir=
mimetypes=
+# local overrides
+if [ -f config.param ] ; then
+ confhost=`awk 'NR==1{print $4}' config.param`
+ if [ "$confhost" = "$host" ] ; then
+ . ./config.param
+ fi
+fi
+
all_yes=0
while [ $# -gt 0 ]
do