diff options
author | Linus Nordberg <linus@nordu.net> | 2010-06-12 00:44:29 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2010-06-12 00:44:29 +0200 |
commit | f805392012ce1932243bf2c33f8b745fec09f488 (patch) | |
tree | 165d2b3b9dc224587e15ee10c6262e52b99e7168 /configure.ac | |
parent | 5739cce08d7880f0dc2e7b01d514a8e5a5f31b8a (diff) |
* configure.ac: Check for docbook2x-man.
* Makefile.am: Build radsecproxy.conf.5 only if docbook2x-man exists.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d4ba292..9bbbda3 100644 --- a/configure.ac +++ b/configure.ac @@ -81,6 +81,10 @@ if test "x$dtls" = "xyes" ; then TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_DTLS" fi +AC_ARG_VAR([DOCBOOK2X_MAN], [docbook2x-man]) +AC_CHECK_PROG([DOCBOOK2X_MAN], [docbook2x-man], [yes]) +AM_CONDITIONAL(HAVE_DOCBOOK2X_MAN, test "$DOCBOOK2X_MAN" = "yes") + AC_SUBST(TARGET_CFLAGS) AC_SUBST(TARGET_LDFLAGS) AX_CHECK_SSL |