Permalink
Browse files

autotools: don't build doc if doxygen not found

  • Loading branch information...
aberaud committed Dec 11, 2018
1 parent f2f913f commit 32eea55f10435ec66114310b1e4240e3275f5faf
Showing with 5 additions and 1 deletion.
  1. +2 −0 Makefile.am
  2. +3 −1 configure.ac
@@ -16,7 +16,9 @@ if ENABLE_TESTS
SUBDIRS += tests
endif

if HAVE_DOXYGEN
SUBDIRS += doc
endif

ACLOCAL_AMFLAGS = -I m4

@@ -193,7 +193,9 @@ AM_COND_IF(ENABLE_PROXY_SERVER_IDENTITY,
[CPPFLAGS+=" -DOPENDHT_PROXY_SERVER_IDENTITY=true"],
[CPPFLAGS+=" -DOPENDHT_PROXY_SERVER_IDENTITY=false"])

AC_CONFIG_FILES([doc/Doxyfile doc/Makefile])
AM_COND_IF([HAVE_DOXYGEN], [
AC_CONFIG_FILES([doc/Doxyfile doc/Makefile])
])

dnl Configure setup.py if we build the python module
AM_COND_IF([USE_CYTHON], [

0 comments on commit 32eea55

Please sign in to comment.