Fix bugs in previous commit.

This commit is contained in:
Ralf Corsépius 2007-08-13 09:48:56 +02:00
parent 94f8f21a94
commit 8aeb0c33dd
1 changed files with 3 additions and 4 deletions

View File

@ -844,11 +844,10 @@ yes)
;;
auto)
AC_CHECK_HEADER([selinux/selinux.h],[
AC_CHECK_LIB(selinux,[is_selinux_enabled],[with_selinux=yes],[
[with_selinux=no])
])
AC_CHECK_LIB(selinux,[is_selinux_enabled],[with_selinux=yes],
[with_selinux=no])
],[
[with_selinux=no])
with_selinux=no
])
;;
*) with_selinux=no