Allow --disable-man and --enable-man=no.
This commit is contained in:
parent
2303ddd0de
commit
8098f63998
@ -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
|
||||
|
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user