diff options
| author | Tom Lane | 2001-08-01 23:52:50 +0000 |
|---|---|---|
| committer | Tom Lane | 2001-08-01 23:52:50 +0000 |
| commit | cb90b2dacb14b774ad3ddc68d78ec52f45db78bf (patch) | |
| tree | e4eec86281567ada4d7d3643828c329344348808 /configure.in | |
| parent | bc042e0a775040927b194473b4abf9c48e56d0a5 (diff) | |
Digging through previous discussion of this patch, I note where Peter E.
points out how silly it is to use Autoconf to test for a preprocessor
symbol, when one can equally easily #ifdef on the symbol itself.
Accordingly, revert configure to prior state and do it that way.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/configure.in b/configure.in index c9af97065f6..076fd8a0fd4 100644 --- a/configure.in +++ b/configure.in @@ -801,19 +801,6 @@ AC_CHECK_FUNCS([fcvt getopt_long memmove pstat setproctitle setsid sigprocmask s dnl Check whether <unistd.h> declares fdatasync(). AC_EGREP_HEADER(fdatasync, unistd.h, AC_DEFINE(HAVE_FDATASYNC_DECL)) -AC_MSG_CHECKING([for SO_PEERCRED]) -AC_EGREP_CPP(HAVE_SO_PEERCRED, -#include <sys/socket.h> -#ifdef SO_PEERCRED -HAVE_SO_PEERCRED -#endif -], -[ - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_SO_PEERCRED) -], -[AC_MSG_RESULT(no)]) - AC_CACHE_CHECK([for PS_STRINGS], [pgac_cv_var_PS_STRINGS], [AC_TRY_LINK( [#include <machine/vmparam.h> |
