diff options
| author | Bruce Momjian | 2007-01-28 03:50:34 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2007-01-28 03:50:34 +0000 |
| commit | 91ed399517b025ff672d57599a6155350cd84a89 (patch) | |
| tree | 420786ef6ee78e445d96ee572069ac6ea73d93a5 /configure.in | |
| parent | 9bf559dee3b84e0ed3ab26c0b133fb2035c9312d (diff) | |
Use autoconf build-in sys_siglist macro AC_DECL_SYS_SIGLIST, rather than
create our own.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/configure.in b/configure.in index b625787f5be..7e55f67d135 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.498 2007/01/28 01:12:05 momjian Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.499 2007/01/28 03:50:33 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -1059,14 +1059,7 @@ AC_TRY_LINK([#include <setjmp.h>], AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no)]) -AC_CACHE_CHECK([for sys_siglist], pgac_cv_var_sys_siglist, -[AC_TRY_LINK([#include <signal.h>], - [extern char *sys_siglist[]; (void)sys_siglist[0];], - [pgac_cv_var_sys_siglist=yes], - [pgac_cv_var_sys_siglist=no])]) -if test x"$pgac_cv_var_sys_siglist" = x"yes"; then - AC_DEFINE(HAVE_SYS_SIGLIST, 1, [Define to 1 if you have the global variable 'char *sys_siglist[]'.]) -fi +AC_DECL_SYS_SIGLIST AC_CHECK_FUNC(syslog, [AC_CHECK_HEADER(syslog.h, |
