Mercurial > hg > xemacs-beta
changeset 3149:71959ba52b08
[xemacs-hg @ 2005-12-18 17:58:50 by stephent]
Substitute '_' for '-' in default variable names.
<87psnu5mfs.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Sun, 18 Dec 2005 17:58:55 +0000 |
parents | 021ce059a9af |
children | b4485998d447 |
files | ChangeLog configure configure.ac |
diffstat | 3 files changed, 13 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Dec 18 15:33:35 2005 +0000 +++ b/ChangeLog Sun Dec 18 17:58:55 2005 +0000 @@ -1,3 +1,8 @@ +2005-12-19 Stephen J. Turnbull <stephen@xemacs.org> + + * configure.ac (XE_COMPLEX_ARG): Substitute '_' for '-' in default + variable names. + 2005-12-09 Malcolm Purvis <malcolmp@xemacs.org> * configure.ac (XE_EXPAND_COMPLEX_OPTION):
--- a/configure Sun Dec 18 15:33:35 2005 +0000 +++ b/configure Sun Dec 18 17:58:55 2005 +0000 @@ -3784,10 +3784,10 @@ else # set default for each type -for y in $_error-checking_types; do - eval "with_error-checking_$y=\$_error-checking_${y}_default" - eval "enable_error-checking_$y=\$_error-checking_${y}_default" - unset _error-checking_${y}_default +for y in $_error_checking_types; do + eval "with_error_checking_$y=\$_error_checking_${y}_default" + eval "enable_error_checking_$y=\$_error_checking_${y}_default" + unset _error_checking_${y}_default done fi;
--- a/configure.ac Sun Dec 18 15:33:35 2005 +0000 +++ b/configure.ac Sun Dec 18 17:58:55 2005 +0000 @@ -515,10 +515,10 @@ $3 ],[ # set default for each type -for y in $_[$1]_types; do - eval "with_[$1]_$y=\$_[$1]_${y}_default" - eval "enable_[$1]_$y=\$_[$1]_${y}_default" - unset _[$1]_${y}_default +for y in [$_]patsubst([$1], -, _)[_types]; do + eval "[with_]patsubst([$1], -, _)[_$y]=[\$_]patsubst([$1], -, _)[_${y}_default]" + eval "[enable_]patsubst([$1], -, _)[_$y]=[\$_]patsubst([$1], -, _)[_${y}_default]" + unset [_]patsubst([$1], -, _)[_${y}_default] done $4])])dnl dnl