if eval test \$wx_cv_func_$wx_func = yes
then
- AC_DEFINE_UNQUOTED([HAVE_`echo $wx_func | tr 'a-z' 'A-Z'`])
+ AC_DEFINE_UNQUOTED([AS_TR_CPP([HAVE_$wx_func])])
$2
else
:
cache=yes
],
[
- cache=no
LINE=`grep "^$3=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
- eval "DEFAULT_$LINE"
+ eval "DEFAULT_$LINE"
+ cache=yes
+ else
+ cache=no
fi
AS_TR_SH(wx_cv_use_$1)='$3=${'DEFAULT_$3":-$wxUSE_ALL_FEATURES}"
cache=yes
],
[
- cache=no
LINE=`grep "^$3=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
- eval "DEFAULT_$LINE"
+ eval "DEFAULT_$LINE"
+ cache=yes
+ else
+ cache=no
fi
AS_TR_SH(wx_cv_use_$1)='$3=${'DEFAULT_$3":-$defaultval}"
cache=yes
],
[
- cache=no
LINE=`grep "^$3=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
- eval "DEFAULT_$LINE"
+ eval "DEFAULT_$LINE"
+ cache=yes
+ else
+ cache=no
fi
AS_TR_SH(wx_cv_use_$1)='$3=${'DEFAULT_$3":-$defaultval}"
cache=yes
],
[
- cache=no
LINE=`grep "^$3=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
+ cache=yes
+ else
+ cache=no
fi
wx_cv_use_$1='$3='$DEFAULT_$3