mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
sepgsql, an SE-Linux integration for PostgreSQL
This is still pretty rough - among other things, the documentation needs work, and the messages need a visit from the style police - but this gets the basic framework in place. KaiGai Kohei
This commit is contained in:
13
configure.in
13
configure.in
@ -676,6 +676,13 @@ PGAC_ARG_BOOL(with, openssl, no, [build with OpenSSL support],
|
||||
AC_MSG_RESULT([$with_openssl])
|
||||
AC_SUBST(with_openssl)
|
||||
|
||||
#
|
||||
# SELinux
|
||||
#
|
||||
AC_MSG_CHECKING([whether to build with SELinux support])
|
||||
PGAC_ARG_BOOL(with, selinux, no, [build with SELinux support])
|
||||
AC_SUBST(with_selinux)
|
||||
AC_MSG_RESULT([$with_selinux])
|
||||
|
||||
#
|
||||
# Readline
|
||||
@ -948,6 +955,12 @@ if test "$with_libxslt" = yes ; then
|
||||
AC_CHECK_LIB(xslt, xsltCleanupGlobals, [], [AC_MSG_ERROR([library 'xslt' is required for XSLT support])])
|
||||
fi
|
||||
|
||||
# for contrib/sepgsql
|
||||
if test "$with_selinux" = yes; then
|
||||
AC_CHECK_LIB(selinux, getpeercon_raw, [],
|
||||
[AC_MSG_ERROR([library 'libselinux' is required for SELinux support])])
|
||||
fi
|
||||
|
||||
# for contrib/uuid-ossp
|
||||
if test "$with_ossp_uuid" = yes ; then
|
||||
AC_CHECK_LIB(ossp-uuid, uuid_export,
|
||||
|
Reference in New Issue
Block a user