diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-05-07 17:09:24 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-05-07 17:09:24 +0000 |
commit | 588ebeb7a5a7ae7c86b4fe5c3aa34ad117b93b70 (patch) | |
tree | 4260a2d4f4d6debb7add7a4ae36758354ee33440 /src/configure.in | |
parent | 2b57078d735b72fdbfa70eb9fcad1a4c1800f959 (diff) | |
download | vim-588ebeb7a5a7ae7c86b4fe5c3aa34ad117b93b70.zip |
updated for version 7.1-296
Diffstat (limited to 'src/configure.in')
-rw-r--r-- | src/configure.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/configure.in b/src/configure.in index 898e79cc9..628c2c304 100644 --- a/src/configure.in +++ b/src/configure.in @@ -299,6 +299,19 @@ case `uname` in esac fi +dnl Link with -lselinux for SELinux stuff; if not found +AC_MSG_CHECKING(--disable-selinux argument) +AC_ARG_ENABLE(selinux, + [ --disable-selinux Don't check for SELinux support.], + , enable_selinux="yes") +if test "$enable_selinux" = "yes"; then + AC_MSG_RESULT(no) + AC_CHECK_LIB(selinux, is_selinux_enabled, + [LIBS="$LIBS -lselinux" + AC_DEFINE(HAVE_SELINUX)]) +else + AC_MSG_RESULT(yes) +fi dnl Check user requested features. |