Rename wx_cv_use_xlocale_local to wx_cv_func_strtod_l

No real changes, just use more standard naming convention for a variable
containing the cached value in configure.
This commit is contained in:
Vadim Zeitlin
2017-04-20 15:55:33 +02:00
parent 9507bc430e
commit 259b55a17c
2 changed files with 10 additions and 10 deletions

View File

@@ -5712,7 +5712,7 @@ if test "$wxUSE_XLOCALE" = "yes" ; then
dnl even if xlocale.h exists, it may not contain all that
dnl wx needs. check if strtod_l() really is available.
AC_CACHE_CHECK([for complete xlocale],
wx_cv_use_xlocale_local,
wx_cv_func_strtod_l,
[
AC_LANG_PUSH(C++)
AC_TRY_COMPILE(
@@ -5725,13 +5725,13 @@ if test "$wxUSE_XLOCALE" = "yes" ; then
locale_t t;
strtod_l(NULL, NULL, t);
],
wx_cv_use_xlocale_local=yes,
wx_cv_use_xlocale_local=no
wx_cv_func_strtod_l=yes,
wx_cv_func_strtod_l=no
)
AC_LANG_POP()
])
if test "$wx_cv_use_xlocale_local" = "yes" ; then
if test "$wx_cv_func_strtod_l" = "yes" ; then
AC_DEFINE(wxUSE_XLOCALE)
fi
fi