mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Adjust configure's probe for libselinux so it rejects too-old versions.
We need at least version 2.0.93, so probe for a function that was added in that version. Kaigai Kohei
This commit is contained in:
@ -960,8 +960,8 @@ 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])])
|
||||
AC_CHECK_LIB(selinux, selinux_sepgsql_context_path, [],
|
||||
[AC_MSG_ERROR([library 'libselinux', version 2.0.93 or newer, is required for SELinux support])])
|
||||
fi
|
||||
|
||||
# for contrib/uuid-ossp
|
||||
|
Reference in New Issue
Block a user