diff options
author | Duncan Roe <duncan_roe@optusnet.com.au> | 2021-08-07 16:35:01 +1000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-08-10 17:46:07 +0200 |
commit | 521252dc02e47700e5c9ca0d89edf57e44a87f8f (patch) | |
tree | 31a04cee151006ea907c58dcef4d79fa68728b7c | |
parent | 8daab0fed75181fd7202e3daeea7c56aa1285ea2 (diff) | |
download | libnetfilter_queue-521252dc02e47700e5c9ca0d89edf57e44a87f8f.tar.gz |
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
Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index bdbee98..0fe754c 100644 --- a/configure.ac +++ b/configure.ac @@ -50,8 +50,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 |