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:
12
configure
vendored
12
configure
vendored
@@ -32623,7 +32623,7 @@ fi
|
|||||||
if test "$wxUSE_XLOCALE" = "yes" ; then
|
if test "$wxUSE_XLOCALE" = "yes" ; then
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete xlocale" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete xlocale" >&5
|
||||||
$as_echo_n "checking for complete xlocale... " >&6; }
|
$as_echo_n "checking for complete xlocale... " >&6; }
|
||||||
if ${wx_cv_use_xlocale_local+:} false; then :
|
if ${wx_cv_func_strtod_l+:} false; then :
|
||||||
$as_echo_n "(cached) " >&6
|
$as_echo_n "(cached) " >&6
|
||||||
else
|
else
|
||||||
|
|
||||||
@@ -32652,9 +32652,9 @@ main ()
|
|||||||
}
|
}
|
||||||
_ACEOF
|
_ACEOF
|
||||||
if ac_fn_cxx_try_compile "$LINENO"; then :
|
if ac_fn_cxx_try_compile "$LINENO"; then :
|
||||||
wx_cv_use_xlocale_local=yes
|
wx_cv_func_strtod_l=yes
|
||||||
else
|
else
|
||||||
wx_cv_use_xlocale_local=no
|
wx_cv_func_strtod_l=no
|
||||||
|
|
||||||
fi
|
fi
|
||||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||||
@@ -32666,10 +32666,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|||||||
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_use_xlocale_local" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_strtod_l" >&5
|
||||||
$as_echo "$wx_cv_use_xlocale_local" >&6; }
|
$as_echo "$wx_cv_func_strtod_l" >&6; }
|
||||||
|
|
||||||
if test "$wx_cv_use_xlocale_local" = "yes" ; then
|
if test "$wx_cv_func_strtod_l" = "yes" ; then
|
||||||
$as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
|
$as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@@ -5712,7 +5712,7 @@ if test "$wxUSE_XLOCALE" = "yes" ; then
|
|||||||
dnl even if xlocale.h exists, it may not contain all that
|
dnl even if xlocale.h exists, it may not contain all that
|
||||||
dnl wx needs. check if strtod_l() really is available.
|
dnl wx needs. check if strtod_l() really is available.
|
||||||
AC_CACHE_CHECK([for complete xlocale],
|
AC_CACHE_CHECK([for complete xlocale],
|
||||||
wx_cv_use_xlocale_local,
|
wx_cv_func_strtod_l,
|
||||||
[
|
[
|
||||||
AC_LANG_PUSH(C++)
|
AC_LANG_PUSH(C++)
|
||||||
AC_TRY_COMPILE(
|
AC_TRY_COMPILE(
|
||||||
@@ -5725,13 +5725,13 @@ if test "$wxUSE_XLOCALE" = "yes" ; then
|
|||||||
locale_t t;
|
locale_t t;
|
||||||
strtod_l(NULL, NULL, t);
|
strtod_l(NULL, NULL, t);
|
||||||
],
|
],
|
||||||
wx_cv_use_xlocale_local=yes,
|
wx_cv_func_strtod_l=yes,
|
||||||
wx_cv_use_xlocale_local=no
|
wx_cv_func_strtod_l=no
|
||||||
)
|
)
|
||||||
AC_LANG_POP()
|
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)
|
AC_DEFINE(wxUSE_XLOCALE)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user