build: Only use pod2man if it exists

This fixes the build in gnome-ostree, where we don't have pod2man
to generate the manpages.
This commit is contained in:
Colin Walters
2012-11-16 14:16:13 -05:00
committed by Bastien Nocera
parent 8266f354cc
commit 78623147bc
2 changed files with 7 additions and 1 deletions

View File

@ -50,6 +50,8 @@ AC_MSG_RESULT([$has_pam])
AC_CHECK_PROG([XMLLINT], [xmllint], [xmllint])
AC_CHECK_PROG([XSLTPROC], [xsltproc], [xsltproc])
AC_CHECK_PROG([POD2MAN], [pod2man], [xsltproc])
AM_CONDITIONAL(BUILD_MAN, test "$POD2MAN" != "x")
GTK_DOC_CHECK([1.3])