1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Make the default pg_hba.conf include an entry for ::1 only if configure

set HAVE_IPV6.  Per recent discussions.
This commit is contained in:
Tom Lane
2003-09-07 03:36:03 +00:00
parent f4ed650996
commit 7703e55c32
6 changed files with 28 additions and 10 deletions

4
configure vendored
View File

@ -11193,6 +11193,7 @@ fi
HAVE_IPV6=no
echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6
if test "${ac_cv_type_struct_sockaddr_in6+set}" = set; then
@ -11314,11 +11315,13 @@ cat >>confdefs.h <<\_ACEOF
#define HAVE_IPV6 1
_ACEOF
HAVE_IPV6=yes
fi
fi
echo "$as_me:$LINENO: checking for PS_STRINGS" >&5
echo $ECHO_N "checking for PS_STRINGS... $ECHO_C" >&6
if test "${pgac_cv_var_PS_STRINGS+set}" = set; then
@ -18286,6 +18289,7 @@ s,@python_configdir@,$python_configdir,;t t
s,@python_includespec@,$python_includespec,;t t
s,@python_libspec@,$python_libspec,;t t
s,@LIBOBJS@,$LIBOBJS,;t t
s,@HAVE_IPV6@,$HAVE_IPV6,;t t
s,@THREAD_CFLAGS@,$THREAD_CFLAGS,;t t
s,@THREAD_LIBS@,$THREAD_LIBS,;t t
s,@HAVE_POSIX_SIGNALS@,$HAVE_POSIX_SIGNALS,;t t