mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 10:07:12 +00:00
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>
This commit is contained in:
parent
3c7621b511
commit
b57a229c56
@ -14,6 +14,9 @@ PKG_PROG_PKG_CONFIG
|
|||||||
|
|
||||||
AC_PATH_PROG([SWIG], [swig])
|
AC_PATH_PROG([SWIG], [swig])
|
||||||
|
|
||||||
|
sinclude(m4/ac_podchecker.m4)
|
||||||
|
PROG_PODCHECKER
|
||||||
|
|
||||||
sinclude(m4/ac_pod2man.m4)
|
sinclude(m4/ac_pod2man.m4)
|
||||||
PROG_POD2MAN
|
PROG_POD2MAN
|
||||||
|
|
||||||
|
11
libraries/libapparmor/m4/ac_podchecker.m4
Normal file
11
libraries/libapparmor/m4/ac_podchecker.m4
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
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
|
||||||
|
])
|
Loading…
x
Reference in New Issue
Block a user