@@ -1,3 +1,10 @@
|
|||||||
|
2001-12-20 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
|
||||||
|
|
||||||
|
* [w3m-dev 02683]
|
||||||
|
* configure (def_param): fix wrong behavior unless variable initialized
|
||||||
|
* configure (def_param): fix unnecessary eval
|
||||||
|
* configure (ask_choice): ditto
|
||||||
|
|
||||||
2001-12-20 Dai Sato <satodai@dog.intcul.tohoku.ac.jp>
|
2001-12-20 Dai Sato <satodai@dog.intcul.tohoku.ac.jp>
|
||||||
|
|
||||||
* w3mhelp-*.html, doc/README, doc-jp/README:
|
* w3mhelp-*.html, doc/README, doc-jp/README:
|
||||||
@@ -1345,4 +1352,4 @@
|
|||||||
* release-0-2-1
|
* release-0-2-1
|
||||||
* import w3m-0.2.1
|
* import w3m-0.2.1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.147 2001/12/20 11:11:49 inu Exp $
|
$Id: ChangeLog,v 1.148 2001/12/20 12:32:19 ukai Exp $
|
||||||
|
9
configure
vendored
9
configure
vendored
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $Id: configure,v 1.40 2001/12/20 04:03:24 ukai Exp $
|
# $Id: configure,v 1.41 2001/12/20 12:32:19 ukai Exp $
|
||||||
# Configuration.
|
# Configuration.
|
||||||
#
|
#
|
||||||
|
|
||||||
@@ -234,7 +234,8 @@ def_param() {
|
|||||||
eval "fvar=\$$flag"
|
eval "fvar=\$$flag"
|
||||||
dflt=$2
|
dflt=$2
|
||||||
if [ -z "$fvar" ]; then
|
if [ -z "$fvar" ]; then
|
||||||
eval "fvar=$dflt"
|
fvar=$dflt
|
||||||
|
eval $flag='$fvar'
|
||||||
fi
|
fi
|
||||||
def=`echo $flag | tr '[a-z]' '[A-Z]'`
|
def=`echo $flag | tr '[a-z]' '[A-Z]'`
|
||||||
if [ "$fvar" = "y" ]; then
|
if [ "$fvar" = "y" ]; then
|
||||||
@@ -242,7 +243,7 @@ def_param() {
|
|||||||
else
|
else
|
||||||
eval "def_$flag='#undef $def'"
|
eval "def_$flag='#undef $def'"
|
||||||
fi
|
fi
|
||||||
eval "echo $flag=$fvar >> config.param"
|
echo "$flag=$fvar" >> config.param
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -330,7 +331,7 @@ ask_choice() {
|
|||||||
shift
|
shift
|
||||||
eval "def_$var='#define $def $v'"
|
eval "def_$var='#define $def $v'"
|
||||||
eval "$var=$v"
|
eval "$var=$v"
|
||||||
eval "echo $var=$v >> config.param";
|
echo "$var=$v" >> config.param
|
||||||
echo " $def=$v"
|
echo " $def=$v"
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user