diff options
Diffstat (limited to 'config/c-library.m4')
-rw-r--r-- | config/c-library.m4 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/config/c-library.m4 b/config/c-library.m4 index 906a787f0ec..4453723bd5b 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 |