Skip to contentSkip to conversation

build: If doxygen is not available, be sure to report "doxygen: no" to ./configure

PATCH Applied Duncan Roe 2 participants 2 messages Aug 7, 2021 – Aug 10, 2021 netfilter

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore

Duncan Roe

author
#0 lore raw

PATCH 1/1 build: If doxygen is not available, be sure to report "doxygen: no" to ./configure

Also fix bogus "Doxygen not found ..." warning if --without-doxygen given

---
 configure.ac | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
configure.ac +5 -2
index a06ae6a..3d1b821 100644
@@ -43,8 +43,11 @@ AS_IF([test "x$with_doxygen" != xno], [
 
 AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
 AS_IF([test "x$DOXYGEN" = x], [
-	dnl Only run doxygen Makefile if doxygen installed
-	AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
+	AS_IF([test "x$with_doxygen" != xno], [
+		dnl Only run doxygen Makefile if doxygen installed
+		AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
+		with_doxygen=no
+	])
 ])
 AC_OUTPUT
 
Signature · 1 line
2.17.5
maintainer Applied
#1 lore raw
Quoted 1 line · Duncan Roe

Also fix bogus "Doxygen not found ..." warning if --without-doxygen given

Applied, thanks for following up.