Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

[no subject]



The original code in 8.1.1 was:
  AC_MSG_CHECKING([for getaddrinfo by including <netdb.h>])
  AC_TRY_LINK([#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>],
    [getaddrinfo(NULL, NULL, NULL, NULL);],
    [AC_MSG_RESULT([yes])
    AC_DEFINE(HAVE_GETADDRINFO, 1,
      [Define to 1 if you have the `getaddrinfo' function.])],
    [AC_MSG_RESULT([no])
    AC_LIBOBJ(getaddrinfo)])

So, what's the best way to merge the two? If getaddrinfo() is borked
on Windows, how about AC_TRY_RUN to test it out?

-- 
albert chin (china(at)thewrittenword(dot)com)



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group