apparmor/libraries/libapparmor/m4/ac_podchecker.m4
Tyler Hicks b57a229c56 libapparmor: Check for podchecker during configure stage
Fail the configure stage if podchecker is not available since man page
generation always happens.

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Acked-by: Steve Beattie <steve@nxnw.org>
2014-11-17 21:19:55 -06:00

11 lines
296 B
Text

AC_DEFUN([PROG_PODCHECKER],[
AC_CHECK_PROG(PODCHECKER,podchecker,podchecker,no)
if test "$PODCHECKER" = "no"; then
AC_MSG_ERROR([
The podchecker program was not found in the default path. podchecker is part of
Perl, which can be retrieved from:
https://www.perl.org
])
fi
])