DOCS: Add configure --enable-manpages which controls whether to build the manpages or not

This commit is contained in:
Ronnie Sahlberg
2014-03-22 09:33:16 -07:00
committed by Ronnie Sahlberg
parent b1d82d7cb1
commit 7d1f7a5308
2 changed files with 16 additions and 3 deletions

View File

@@ -37,6 +37,14 @@ if test "$ac_cv_prog_gcc" = yes; then
fi
AC_SUBST(WARN_CFLAGS)
AC_ARG_ENABLE([manpages],
[AC_HELP_STRING([--enable-manpages],
[Enable building the manpages])],
[ENABLE_MANPAGES=$enableval],
[ENABLE_MANPAGES="no"])
AM_CONDITIONAL(BUILD_MANPAGES,
[expr "$ENABLE_MANPAGES" : yes > /dev/null 2>&1])
AC_CONFIG_HEADER(config.h)
AC_CHECK_LIB([gcrypt], [gcry_control])