mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
This patch enables the compilation of the FLASK policy as part of the tools build if the needed prerequisites are present. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
13 lines
318 B
Plaintext
13 lines
318 B
Plaintext
AC_DEFUN([AC_PROG_CHECKPOLICY],
|
|
[dnl
|
|
# check for a checkpolicy binary with support for -t xen
|
|
AC_CHECK_TOOL([CHECKPOLICY],[checkpolicy],[no])
|
|
|
|
if test "$CHECKPOLICY" != "no"; then
|
|
CHECKPOLICYHELP=`$CHECKPOLICY -h | grep xen`
|
|
if test "$CHECKPOLICYHELP" = ""; then
|
|
CHECKPOLICY=no
|
|
fi
|
|
fi
|
|
])
|