mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
configure.ac: Error out when doc is requested but Doxygen is missing.
Previously, documentation would be automatically disabled when Doxygen was found missing. * configure.ac: Change AC_MSG_WARN into AC_MSG_ERROR and adjust error message.
This commit is contained in:
1 parent
e8cf9dd25f
commit
ee4c8a19d6
1 file changed
+2
-1
+2
-1
@@ -56,7 +56,8 @@ dnl Check for Doxygen
|
||||
AC_ARG_ENABLE([doc], AS_HELP_STRING([--enable-doc], [Enable documentation generation (doxygen)]))
|
||||
AS_IF([test "x$enable_doc" = "xyes"], [
|
||||
AC_CHECK_PROGS([DOXYGEN], [doxygen])
|
||||
AS_IF([test -z "$DOXYGEN"], [AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])])
|
||||
AS_IF([test -z "$DOXYGEN"],
|
||||
[AC_MSG_ERROR([Doxygen is required to generate the documentation.])])
|
||||
])
|
||||
AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
|
||||
|
||||
|
||||
Reference in new issue
Block a user