summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac23
1 files changed, 23 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 96c6962..3aa337b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,6 +68,29 @@ AC_ARG_WITH([pthread],
[Build without pthread based block compressor])],
[want_pthread="${withval}"], [want_pthread="yes"])
+##### Doxygen reference manual #####
+
+AC_CHECK_PROGS([DOXYGEN], [doxygen])
+AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
+
+if test -z "$DOXYGEN"; then
+ AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
+else
+ AC_CONFIG_FILES([Doxyfile])
+
+ DX_DOXYGEN_FEATURE(ON)
+ DX_DOT_FEATURE(ON)
+ DX_HTML_FEATURE(ON)
+ DX_CHM_FEATURE(OFF)
+ DX_CHI_FEATURE(OFF)
+ DX_MAN_FEATURE(OFF)
+ DX_RTF_FEATURE(OFF)
+ DX_XML_FEATURE(OFF)
+ DX_PDF_FEATURE(OFF)
+ DX_PS_FEATURE(OFF)
+ DX_INIT_DOXYGEN(libsquashfs, Doxyfile)
+fi
+
##### search for dependencies #####
AM_CONDITIONAL([WITH_GZIP], [true])