Pau Espin Pedrol has submitted this change and it was merged.

Change subject: configure.ac: Add --disable-doxygen flag
......................................................................


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
---
M configure.ac
1 file changed, 7 insertions(+), 1 deletion(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/configure.ac b/configure.ac
index 8cd2238..362d792 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,8 +63,14 @@
 
 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

-- 
To view, visit https://gerrit.osmocom.org/3142
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I16b3502be3e32274f548da6a2a0b0363dd3bfe5d
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>

Reply via email to