summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-06-08 23:20:07 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-06-08 23:24:55 +0200
commit363b8cf4e4be6d1713f7b9b9ee0bcfb061e0ec08 (patch)
tree8c7cdcaa69bd4f29ce7499e94549a7065206c559
parent3622e6061d5cc34db70cef7b8516217e27ffa57c (diff)
configure: disable doxygen by default
doxygen documentation was not enabled in previous releases, let's recover this default behaviour. This is implicitly fixing up `make distcheck' to build the tarballs. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--configure.ac13
1 files changed, 6 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index 0de144c..96e18be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,15 +38,14 @@ AC_CONFIG_FILES([Makefile src/Makefile utils/Makefile examples/Makefile
AC_ARG_WITH([doxygen], [AS_HELP_STRING([--with-doxygen],
[create doxygen documentation])],
- [with_doxygen="$withval"], [with_doxygen=yes])
-
-AS_IF([test "x$with_doxygen" != xno], [
+ [], [with_doxygen=no])
+AS_IF([test "x$with_doxygen" = xyes], [
AC_CHECK_PROGS([DOXYGEN], [doxygen])
])
AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
-if test -z "$DOXYGEN"; then
- dnl Only run doxygen Makefile if doxygen installed
- AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
-fi
AC_OUTPUT
+
+echo "
+libnetfilter_queue configuration:
+ doxygen: ${with_doxygen}"