diff options
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 4d3fb93f68..b625787f5b 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.497 2007/01/18 14:07:31 petere Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.498 2007/01/28 01:12:05 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -1059,6 +1059,15 @@ 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_CHECK_FUNC(syslog, [AC_CHECK_HEADER(syslog.h, [AC_DEFINE(HAVE_SYSLOG, 1, [Define to 1 if you have the syslog interface.])])]) |
