diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-10-01 07:16:04 -0400 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-10-01 07:23:45 -0400 |
commit | 9c2a6c5a5f4b94a93120009e623ae8bd153e6dbb (patch) | |
tree | be7c4eb3891de87b8c51cb330c87255fc2d221c0 /configure.ac | |
parent | ee4859123e3d47aef8cfe078f7faee2ebcecb613 (diff) | |
download | postgresql-9c2a6c5a5f4b94a93120009e623ae8bd153e6dbb.tar.gz postgresql-9c2a6c5a5f4b94a93120009e623ae8bd153e6dbb.zip |
Simplify checking for xlocale.h
Instead of XXX_IN_XLOCALE_H for several features XXX, let's just
include <xlocale.h> if HAVE_XLOCALE_H. The reason for the extra
complication was apparently that some old glibc systems also had an
<xlocale.h>, and you weren't supposed to include it directly, but it's
gone now (as far as I can tell it was harmless to do so anyway).
Author: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/CWZBBRR6YA8D.8EHMDRGLCKCD%40neon.tech
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index a7643476491..382984f594c 100644 --- a/configure.ac +++ b/configure.ac @@ -1446,6 +1446,7 @@ AC_CHECK_HEADERS(m4_normalize([ sys/ucred.h termios.h ucred.h + xlocale.h ])) if expr x"$pgac_cv_check_readline" : 'x-lreadline' >/dev/null ; then @@ -1608,8 +1609,6 @@ PGAC_UNION_SEMUN AC_CHECK_TYPES(socklen_t, [], [], [#include <sys/socket.h>]) PGAC_STRUCT_SOCKADDR_SA_LEN -PGAC_TYPE_LOCALE_T - # MSVC doesn't cope well with defining restrict to __restrict, the # spelling it understands, because it conflicts with # __declspec(restrict). Therefore we define pg_restrict to the @@ -1708,7 +1707,6 @@ fi ## PGAC_VAR_INT_TIMEZONE -PGAC_FUNC_WCSTOMBS_L # Some versions of libedit contain strlcpy(), setproctitle(), and other # symbols that that library has no business exposing to the world. Pending |