diff options
author | Thomas Munro | 2024-11-27 09:34:03 +0000 |
---|---|---|
committer | Thomas Munro | 2024-11-27 10:12:19 +0000 |
commit | f1da075d9a0373c08af32e31dcbf0809ae4aec2f (patch) | |
tree | 44d661b23b3795c5763ead455b58be4a010fe8ec /configure | |
parent | 63e10988f8705cc56ac242fa21ec42dd87e99cbf (diff) |
Remove configure check for _configthreadlocale().
All modern Windows systems have _configthreadlocale(). It was first
introduced in msvcr80.dll from Visual Studio 2005. Historically, MinGW
was stuck on even older msvcrt.dll, but added its own dummy
implementation of the function when using msvcrt.dll years ago anyway,
effectively rendering the configure test useless. In practice we don't
encounter the dummy anymore because modern MinGW uses ucrt.
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://postgr.es/m/CWZBBRR6YA8D.8EHMDRGLCKCD%40neon.tech
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/configure b/configure index 199d666aa73..163ef9a7732 100755 --- a/configure +++ b/configure @@ -15821,17 +15821,6 @@ fi # Win32 (really MinGW) support if test "$PORTNAME" = "win32"; then - for ac_func in _configthreadlocale -do : - ac_fn_c_check_func "$LINENO" "_configthreadlocale" "ac_cv_func__configthreadlocale" -if test "x$ac_cv_func__configthreadlocale" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__CONFIGTHREADLOCALE 1 -_ACEOF - -fi -done - case " $LIBOBJS " in *" dirmod.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS dirmod.$ac_objext" |