diff --git a/configure.ac b/configure.ac index 194e526e3..f98c2a3e1 100644 --- a/configure.ac +++ b/configure.ac @@ -114,6 +114,15 @@ m4_include(config.d/build_control.m4) m4_include(config.d/qfcc.m4) m4_include(config.d/compiling.m4) +AC_ARG_ENABLE(static-doc, + [ --enable-static-doc Enable generation of doxygen docs for static] + [ functions.]) +STATIC_DOC=NO +if test "x$enable_static_doc" = xyes; then + STATIC_DOC=YES +fi +AC_SUBST(STATIC_DOC) + AC_ARG_ENABLE(typecheck-progs, [ --enable-typecheck-progs Enable type checking on progs field access]) if test "x$enable_typecheck_progs" = xyes; then diff --git a/doc/quakeforge.dox.in b/doc/quakeforge.dox.in index 8da06ab3e..efeb6dab7 100644 --- a/doc/quakeforge.dox.in +++ b/doc/quakeforge.dox.in @@ -308,7 +308,7 @@ EXTRACT_PRIVATE = NO # If the EXTRACT_STATIC tag is set to YES all static members of a file # will be included in the documentation. -EXTRACT_STATIC = NO +EXTRACT_STATIC = @STATIC_DOC@ # If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) # defined locally in source files will be included in the documentation.