*** pgsql/configure.in 2003/03/21 17:18:34 1.239 --- pgsql/configure.in 2003/03/29 11:31:51 1.240 *************** *** 1,5 **** dnl Process this file with autoconf to produce a configure script. ! dnl $Header: /projects/cvsroot/pgsql/configure.in,v 1.239 2003/03/21 17:18:34 petere Exp $ dnl dnl Developers, please strive to achieve this order: dnl --- 1,5 ---- dnl Process this file with autoconf to produce a configure script. ! dnl $Header: /projects/cvsroot/pgsql/configure.in,v 1.240 2003/03/29 11:31:51 petere Exp $ dnl dnl Developers, please strive to achieve this order: dnl *************** AC_CHECK_FUNCS([cbrt dlopen fcvt fdatasy *** 791,804 **** AC_CHECK_DECLS(fdatasync, [], [], [#include ]) ! # This exports HAVE_IPV6 to both C files and Makefiles ! AC_CHECK_FUNC(getaddrinfo, ! [AC_CHECK_TYPE(struct sockaddr_in6, ! [HAVE_IPV6="yes"; AC_DEFINE(HAVE_IPV6, 1)], ! [], [$ac_includes_default ! #include ])]) ! AC_SUBST(HAVE_IPV6) AC_CACHE_CHECK([for PS_STRINGS], [pgac_cv_var_PS_STRINGS], [AC_TRY_LINK( --- 791,802 ---- AC_CHECK_DECLS(fdatasync, [], [], [#include ]) ! AC_CHECK_TYPE([struct sockaddr_in6], ! [AC_CHECK_FUNC(inet_ntop, ! [AC_DEFINE(HAVE_IPV6, 1)])], ! [], [$ac_includes_default ! #include ]) AC_CACHE_CHECK([for PS_STRINGS], [pgac_cv_var_PS_STRINGS], [AC_TRY_LINK( *************** else *** 849,855 **** AC_CHECK_FUNCS([fpclass fp_class fp_class_d class], [break]) fi ! AC_REPLACE_FUNCS([fseeko gethostname getopt_long getrusage inet_aton random srandom strcasecmp strdup strerror strtol strtoul]) # BSD/OS & NetBSD use a custom fseeko/ftello built on fsetpos/fgetpos # We override the previous test that said fseeko/ftello didn't exist --- 847,853 ---- AC_CHECK_FUNCS([fpclass fp_class fp_class_d class], [break]) fi ! AC_REPLACE_FUNCS([fseeko getaddrinfo gethostname getopt_long getrusage inet_aton random srandom strcasecmp strdup strerror strtol strtoul]) # BSD/OS & NetBSD use a custom fseeko/ftello built on fsetpos/fgetpos # We override the previous test that said fseeko/ftello didn't exist