diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-02 00:06:18 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-02 00:06:18 +0000 |
| commit | 1e05359f4b93627a34b809182f13d759897831c4 (patch) | |
| tree | 65ec35da5c69a32b69e190b2e294232f1927bd6a /configure.in | |
| parent | 7ceec34a7302504fd7345c5615645386bd5be716 (diff) | |
| download | postgresql-1e05359f4b93627a34b809182f13d759897831c4.tar.gz | |
Properly handle the case where strlcpy() exists in libc but isn't
declared in the system headers. Per report from Bruce than some BSDen
are like this.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 6b36bfea23..d3764a4542 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $PostgreSQL: pgsql/configure.in,v 1.477 2006/10/01 23:47:16 tgl Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.478 2006/10/02 00:06:18 tgl Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -854,8 +854,6 @@ if test "$with_krb5" = yes; then [#include <krb5.h>]) fi -# This is probably only present on Darwin, but may as well check always -AC_CHECK_DECLS(F_FULLFSYNC, [], [], [#include <fcntl.h>]) ## ## Functions, global variables @@ -869,6 +867,9 @@ AC_CHECK_FUNCS([cbrt dlopen fcvt fdatasync getpeereid memmove poll pstat readlin AC_CHECK_DECLS(fdatasync, [], [], [#include <unistd.h>]) AC_CHECK_DECLS(posix_fadvise, [], [], [#include <fcntl.h>]) +AC_CHECK_DECLS(strlcpy) +# This is probably only present on Darwin, but may as well check always +AC_CHECK_DECLS(F_FULLFSYNC, [], [], [#include <fcntl.h>]) HAVE_IPV6=no AC_CHECK_TYPE([struct sockaddr_in6], |
