mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +03:00
backpatch the --enable-syslog functionality to REL7_0 branch
This commit is contained in:
932
src/configure
vendored
932
src/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -944,6 +944,13 @@ AC_TRY_LINK([#include <setjmp.h>],
|
||||
[AC_DEFINE(HAVE_SIGSETJMP) AC_MSG_RESULT(yes)],
|
||||
AC_MSG_RESULT(no))
|
||||
|
||||
AC_ARG_ENABLE(syslog, [ --enable-syslog enable logging to syslog],
|
||||
[case $enableval in y|ye|yes)
|
||||
AC_CHECK_FUNC(syslog, [AC_DEFINE(ENABLE_SYSLOG)], [AC_MSG_ERROR([no syslog interface found])])
|
||||
;;
|
||||
esac]
|
||||
)
|
||||
|
||||
dnl Check to see if we have a working 64-bit integer type.
|
||||
dnl This breaks down into two steps:
|
||||
dnl (1) figure out if the compiler has a 64-bit int type with working
|
||||
|
Reference in New Issue
Block a user