diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-20 12:32:19 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-20 12:32:19 +0000 |
commit | d88bf29a4732aeeca926462c156407f133b7dd8e (patch) | |
tree | 47765aef04fc18f54588c74785126443d017e860 /configure | |
parent | changed for w3m-0.2.3 (diff) | |
download | w3m-d88bf29a4732aeeca926462c156407f133b7dd8e.tar.gz w3m-d88bf29a4732aeeca926462c156407f133b7dd8e.zip |
[w3m-dev 02683]
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rwxr-xr-x | configure | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,5 +1,5 @@ #!/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. # @@ -234,7 +234,8 @@ def_param() { eval "fvar=\$$flag" dflt=$2 if [ -z "$fvar" ]; then - eval "fvar=$dflt" + fvar=$dflt + eval $flag='$fvar' fi def=`echo $flag | tr '[a-z]' '[A-Z]'` if [ "$fvar" = "y" ]; then @@ -242,7 +243,7 @@ def_param() { else eval "def_$flag='#undef $def'" fi - eval "echo $flag=$fvar >> config.param" + echo "$flag=$fvar" >> config.param } # @@ -330,7 +331,7 @@ ask_choice() { shift eval "def_$var='#define $def $v'" eval "$var=$v" - eval "echo $var=$v >> config.param"; + echo "$var=$v" >> config.param echo " $def=$v" break ;; |