mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-22 23:23:30 -06:00
selinux: move BUILD_SELINUX_POLICY definition
BUILD_SELINUX_POLICY needs to be defined outside of ENABLE_SERVER conditional block. Fixes: \# ./configure --disable-server ... configure: error: conditional "BUILD_SELINUX_POLICY" was never defined. Usually this means the macro was only invoked conditionally. Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
parent
9288901f9b
commit
0c9949e898
13
configure.ac
13
configure.ac
@ -381,6 +381,19 @@ AC_SUBST([MK_ELSE], [else])
|
||||
AC_SUBST([MK_ENDIF], [endif])
|
||||
AC_SUBST([MK_ASSIGN], [=])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl - Check for SELinux policy devel
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
selinux_makefile=/usr/share/selinux/devel/Makefile
|
||||
AC_SUBST([selinux_makefile])
|
||||
|
||||
AC_CHECK_FILE([$selinux_makefile],
|
||||
[build_selinux=yes],
|
||||
[build_selinux=no])
|
||||
|
||||
AM_CONDITIONAL(BUILD_SELINUX_POLICY, test x$build_selinux = xyes)
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl Finish
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
13
server.m4
13
server.m4
@ -167,16 +167,3 @@ AC_ARG_WITH([systemdtmpfilesdir],
|
||||
[systemdtmpfilesdir=$with_systemdtmpfilesdir],
|
||||
[systemdtmpfilesdir=$($PKG_CONFIG --define-variable=prefix='${prefix}' --variable=tmpfilesdir systemd)])
|
||||
AC_SUBST([systemdtmpfilesdir])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl - Check for SELinux policy devel
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
selinux_makefile=/usr/share/selinux/devel/Makefile
|
||||
AC_SUBST([selinux_makefile])
|
||||
|
||||
AC_CHECK_FILE([$selinux_makefile],
|
||||
[build_selinux=yes],
|
||||
[build_selinux=no])
|
||||
|
||||
AM_CONDITIONAL(BUILD_SELINUX_POLICY, test x$build_selinux = xyes)
|
||||
|
Loading…
Reference in New Issue
Block a user