Files
xen/m4/checkpolicy.m4
T
Daniel De Graaf 13dd8043cd tools/flask: add FLASK policy to build
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>
2013-02-22 17:16:35 +00:00

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
])