summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-04-02 00:49:28 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-04-02 00:49:28 +0000
commit1da6eb7fdaa79a93972c290174bd7136672a894f (patch)
treef678004bfc882908975bfa8fbe7c831ba9935306 /config
parentf8a15f632dbdc0d24f8aa2d6a1164ed1b0f6b607 (diff)
downloadpostgresql-1da6eb7fdaa79a93972c290174bd7136672a894f.tar.gz
Whack getaddrinfo() patch around until it works, more or less, on
machines without IPv6. Or at least it works on HPUX 10.20 ...
Diffstat (limited to 'config')
-rw-r--r--config/c-library.m412
1 files changed, 11 insertions, 1 deletions
diff --git a/config/c-library.m4 b/config/c-library.m4
index 906a787f0e..4453723bd5 100644
--- a/config/c-library.m4
+++ b/config/c-library.m4
@@ -1,5 +1,5 @@
# Macros that test various C library quirks
-# $Header: /cvsroot/pgsql/config/c-library.m4,v 1.15 2003/01/28 21:57:12 petere Exp $
+# $Header: /cvsroot/pgsql/config/c-library.m4,v 1.16 2003/04/02 00:49:27 tgl Exp $
# PGAC_VAR_INT_TIMEZONE
@@ -62,6 +62,16 @@ AC_DEFUN([PGAC_STRUCT_SOCKADDR_UN],
])])# PGAC_STRUCT_SOCKADDR_UN
+# PGAC_STRUCT_ADDRINFO
+# -----------------------
+# If `struct addrinfo' exists, define HAVE_STRUCT_ADDRINFO.
+AC_DEFUN([PGAC_STRUCT_ADDRINFO],
+[AC_CHECK_TYPES([struct addrinfo], [], [],
+[#include <sys/socket.h>
+#include <netdb.h>
+])])# PGAC_STRUCT_ADDRINFO
+
+
# PGAC_FUNC_POSIX_SIGNALS
# -----------------------
# Check to see if the machine has the POSIX signal interface. Define