Allow --disable-man and --enable-man=no.

This commit is contained in:
nekral-guest 2008-05-25 20:30:45 +00:00
parent 2303ddd0de
commit 8098f63998
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2008-05-25 Nicolas François <nicolas.francois@centraliens.net>
* configure.in: Allow --disable-man and --enable-man=no.
2008-05-25 Nicolas François <nicolas.francois@centraliens.net>
Prepare the 4.1.2 release

View File

@ -212,8 +212,8 @@ AC_ARG_ENABLE(shadowgrp,
AC_ARG_ENABLE(man,
[AC_HELP_STRING([--enable-man],
[regenerate roff man pages from Docbook @<:@default=no@:>@])],
[enable_man=yes],
[enable_man=no]
[enable_man="${enableval}"],
[enable_man=no]
)
AC_ARG_WITH(audit,
@ -268,7 +268,7 @@ if test "$enable_man" = "yes"; then
JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
[DocBook XSL Stylesheets >= 1.70.1], [], enable_man=no)
fi
AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test x$enable_man != xno)
AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test "x$enable_man" != "xno")
AC_SUBST(LIBCRYPT)
AC_CHECK_LIB(crypt, crypt, [LIBCRYPT=-lcrypt],