diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-07-05 22:33:29 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-07-06 10:46:12 +0200 |
commit | b049f39f317e1cc748e7196460aef11948f042f0 (patch) | |
tree | e69b6b714a6869fb23c64cfa51e719c0c7836e88 | |
parent | 57b5f824911c0ba6b2a8e1fecaa4dc98ec4b21f6 (diff) |
configure.ac: Add --disable-doxygen flag
This flag, when set, allows to unconditionally disable doxygen
documentation generation, even if doxygen command is found.
Change-Id: I16b3502be3e32274f548da6a2a0b0363dd3bfe5d
-rw-r--r-- | configure.ac | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 8cd2238..362d792 100644 --- a/configure.ac +++ b/configure.ac @@ -63,8 +63,14 @@ LIBS=$old_LIBS AC_CHECK_HEADERS(dahdi/user.h,,AC_MSG_WARN(DAHDI input driver will not be built)) +AC_ARG_ENABLE(doxygen, + [AS_HELP_STRING( + [--disable-doxygen], + [Disable generation of documentation using doxygen], + )], + [doxygen=$enableval], [doxygen="yes"]) AC_PATH_PROG(DOXYGEN,doxygen,false) -AM_CONDITIONAL(HAVE_DOXYGEN, test $DOXYGEN != false) +AM_CONDITIONAL(HAVE_DOXYGEN, test $DOXYGEN != false && test "x$doxygen" = "xyes") AC_OUTPUT( libosmo-netif.pc |