diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 20c8f1587..b938228c5 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -2407,6 +2407,18 @@ int main() | |||
2407 | [#include <arpa/nameser.h>]) | 2407 | [#include <arpa/nameser.h>]) |
2408 | ]) | 2408 | ]) |
2409 | 2409 | ||
2410 | # Check whether user wants SELinux support | ||
2411 | SELINUX_MSG="no" | ||
2412 | AC_ARG_WITH(selinux, | ||
2413 | [ --with-selinux Enable SELinux support], | ||
2414 | [ if test "x$withval" != "xno" ; then | ||
2415 | AC_DEFINE(WITH_SELINUX, 1, [Define if you want SELinux support.]) | ||
2416 | SELINUX_MSG="yes" | ||
2417 | AC_CHECK_HEADERS(selinux/selinux.h) | ||
2418 | LIBS="$LIBS -lselinux" | ||
2419 | fi | ||
2420 | ]) | ||
2421 | |||
2410 | # Check whether user wants Kerberos 5 support | 2422 | # Check whether user wants Kerberos 5 support |
2411 | KRB5_MSG="no" | 2423 | KRB5_MSG="no" |
2412 | AC_ARG_WITH(kerberos5, | 2424 | AC_ARG_WITH(kerberos5, |
@@ -3188,6 +3200,7 @@ fi | |||
3188 | echo " Manpage format: $MANTYPE" | 3200 | echo " Manpage format: $MANTYPE" |
3189 | echo " PAM support: $PAM_MSG" | 3201 | echo " PAM support: $PAM_MSG" |
3190 | echo " KerberosV support: $KRB5_MSG" | 3202 | echo " KerberosV support: $KRB5_MSG" |
3203 | echo " SELinux support: $SELINUX_MSG" | ||
3191 | echo " Smartcard support: $SCARD_MSG" | 3204 | echo " Smartcard support: $SCARD_MSG" |
3192 | echo " S/KEY support: $SKEY_MSG" | 3205 | echo " S/KEY support: $SKEY_MSG" |
3193 | echo " TCP Wrappers support: $TCPW_MSG" | 3206 | echo " TCP Wrappers support: $TCPW_MSG" |