summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-09-07 03:36:03 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-09-07 03:36:03 +0000
commit7703e55c32e82e2485272596ec5ee6ac1695e42d (patch)
treebe9d6ace2f7f40a02cccb7e57330139dc8a86ea4 /configure
parentf4ed650996ab76dcdb1c1408c30fe61331a26208 (diff)
downloadpostgresql-7703e55c32e82e2485272596ec5ee6ac1695e42d.tar.gz
Make the default pg_hba.conf include an entry for ::1 only if configure
set HAVE_IPV6. Per recent discussions.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index e63842f197..15ab9cdcf1 100755
--- a/configure
+++ b/configure
@@ -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