diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 41526764..bb2dd324 100644 --- a/configure.ac +++ b/configure.ac @@ -60,6 +60,10 @@ AC_ARG_ENABLE(gcov, AC_HELP_STRING([--enable-gcov], [Instrument for gcov (requires a modern gcc)]),, [enable_gcov=no]) +AC_ARG_ENABLE(documentation, + AC_HELP_STRING([--disable-documentation], [Do not generate documentation]),, + [enable_documentation=yes]) + LSH_RPATH_INIT([`echo $with_lib_path | sed 's/:/ /g'` \ `echo $exec_prefix | sed "s@^NONE@$prefix/lib@g" | sed "s@^NONE@$ac_default_prefix/lib@g"` \ /usr/local/lib /sw/local/lib /sw/lib \ @@ -572,8 +576,15 @@ else IF_SHARED='#' fi +if test "x$enable_documentation" = xyes ; then + IF_DOCUMENTATION='' +else + IF_DOCUMENTATION='#' +fi + AC_SUBST(IF_HOGWEED) AC_SUBST(IF_SHARED) +AC_SUBST(IF_DOCUMENTATION) AC_SUBST(IF_DLL) OPENSSL_LIBFLAGS='' @@ -656,4 +667,5 @@ AC_MSG_NOTICE([summary of build options: Compiler: ${CC} Shared libraries: ${enable_shared} Public key crypto: ${enable_public_key} + Documentation: ${enable_documentation} ]) |