Skip to content

Commit 515c3f0

Browse files
author
Mikhail Kulko
committed
completely remove changes from configure.ac
Signed-off-by: Mikhail Kulko <mkulko@mkulko.me>
1 parent 35dd25c commit 515c3f0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

configure.ac

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ AM_CONDITIONAL([ENABLE_ZSH_COMPLETION], [test "x$with_zsh_completion_dir" != "xn
7171

7272
# ------------------------------------------------------------------------------
7373
have_selinux=no
74-
have_selinux_2_3=no
7574
AC_ARG_ENABLE(selinux, AS_HELP_STRING([--disable-selinux], [Disable optional SELINUX support]))
7675
AS_IF([test "x$enable_selinux" != "xno"], [
7776
PKG_CHECK_MODULES([SELINUX], [libselinux >= 2.1.9],
@@ -82,9 +81,8 @@ AS_IF([test "x$enable_selinux" != "xno"], [
8281
AS_IF([test "x$have_selinux" = xno && test "x$enable_selinux" = xyes],
8382
[AC_MSG_ERROR([*** SELinux support requested but libraries not found])])
8483
PKG_CHECK_MODULES([SELINUX_2_3], [libselinux >= 2.3],
85-
[AC_DEFINE(HAVE_SELINUX_2_3, 1, [Define if SELinux is version >= 2.3])
86-
have_selinux_2_3=yes],
87-
[have_selinux_2_3=no])
84+
[AC_DEFINE(HAVE_SELINUX_2_3, 1, [Define if SELinux is version >= 2.3])],
85+
[:])
8886
])
8987
AM_CONDITIONAL(HAVE_SELINUX, [test "$have_selinux" = "yes"])
9088

0 commit comments

Comments
 (0)