@@ -13219,7 +13219,7 @@ $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
1321913219fi
1322013220
1322113221
13222- for ac_header in atomic.h copyfile.h execinfo.h getopt.h ifaddrs.h mbarrier.h sys/epoll.h sys/event.h sys/personality.h sys/prctl.h sys/procctl.h sys/signalfd.h sys/ucred.h termios.h ucred.h
13222+ for ac_header in atomic.h copyfile.h execinfo.h getopt.h ifaddrs.h mbarrier.h sys/epoll.h sys/event.h sys/personality.h sys/prctl.h sys/procctl.h sys/signalfd.h sys/ucred.h termios.h ucred.h xlocale.h
1322313223do :
1322413224 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
1322513225ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
@@ -14547,55 +14547,6 @@ _ACEOF
1454714547fi
1454814548
1454914549
14550- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locale_t" >&5
14551- $as_echo_n "checking for locale_t... " >&6; }
14552- if ${pgac_cv_type_locale_t+:} false; then :
14553- $as_echo_n "(cached) " >&6
14554- else
14555- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14556- /* end confdefs.h. */
14557- #include <locale.h>
14558- locale_t x;
14559- int
14560- main ()
14561- {
14562-
14563- ;
14564- return 0;
14565- }
14566- _ACEOF
14567- if ac_fn_c_try_compile "$LINENO"; then :
14568- pgac_cv_type_locale_t=yes
14569- else
14570- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571- /* end confdefs.h. */
14572- #include <xlocale.h>
14573- locale_t x;
14574- int
14575- main ()
14576- {
14577-
14578- ;
14579- return 0;
14580- }
14581- _ACEOF
14582- if ac_fn_c_try_compile "$LINENO"; then :
14583- pgac_cv_type_locale_t='yes (in xlocale.h)'
14584- else
14585- pgac_cv_type_locale_t=no
14586- fi
14587- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14588- fi
14589- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14590- fi
14591- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_type_locale_t" >&5
14592- $as_echo "$pgac_cv_type_locale_t" >&6; }
14593- if test "$pgac_cv_type_locale_t" = 'yes (in xlocale.h)'; then
14594-
14595- $as_echo "#define LOCALE_T_IN_XLOCALE 1" >>confdefs.h
14596-
14597- fi
14598-
1459914550# MSVC doesn't cope well with defining restrict to __restrict, the
1460014551# spelling it understands, because it conflicts with
1460114552# __declspec(restrict). Therefore we define pg_restrict to the
@@ -15082,59 +15033,6 @@ if test x"$pgac_cv_var_int_timezone" = xyes ; then
1508215033
1508315034$as_echo "#define HAVE_INT_TIMEZONE 1" >>confdefs.h
1508415035
15085- fi
15086- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcstombs_l declaration" >&5
15087- $as_echo_n "checking for wcstombs_l declaration... " >&6; }
15088- if ${pgac_cv_func_wcstombs_l+:} false; then :
15089- $as_echo_n "(cached) " >&6
15090- else
15091- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15092- /* end confdefs.h. */
15093- #include <stdlib.h>
15094- #include <locale.h>
15095- int
15096- main ()
15097- {
15098- #ifndef wcstombs_l
15099- (void) wcstombs_l;
15100- #endif
15101- ;
15102- return 0;
15103- }
15104- _ACEOF
15105- if ac_fn_c_try_compile "$LINENO"; then :
15106- pgac_cv_func_wcstombs_l='yes'
15107- else
15108- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15109- /* end confdefs.h. */
15110- #include <stdlib.h>
15111- #include <locale.h>
15112- #include <xlocale.h>
15113- int
15114- main ()
15115- {
15116- #ifndef wcstombs_l
15117- (void) wcstombs_l;
15118- #endif
15119- ;
15120- return 0;
15121- }
15122- _ACEOF
15123- if ac_fn_c_try_compile "$LINENO"; then :
15124- pgac_cv_func_wcstombs_l='yes (in xlocale.h)'
15125- else
15126- pgac_cv_func_wcstombs_l='no'
15127- fi
15128- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15129- fi
15130- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15131- fi
15132- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_func_wcstombs_l" >&5
15133- $as_echo "$pgac_cv_func_wcstombs_l" >&6; }
15134- if test "$pgac_cv_func_wcstombs_l" = 'yes (in xlocale.h)'; then
15135-
15136- $as_echo "#define WCSTOMBS_L_IN_XLOCALE 1" >>confdefs.h
15137-
1513815036fi
1513915037
1514015038# Some versions of libedit contain strlcpy(), setproctitle(), and other
0 commit comments