diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-10-18 17:34:53 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-10-18 17:34:53 +0200 |
commit | b55cd46bfd8c477cd9eb5c3b6405acea320b5190 (patch) | |
tree | ac02b0a64917c9fd210c5e9b563bbb0bc43a8fda /configure.ac | |
parent | 41ac932526731eb17b412ebee0797ee01ae431ec (diff) | |
download | libmicrohttpd-b55cd46bfd8c477cd9eb5c3b6405acea320b5190.tar.gz libmicrohttpd-b55cd46bfd8c477cd9eb5c3b6405acea320b5190.zip |
add --enable-experiemental option to not compile src/lib/ unless explicitly requested
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 27e86a57..dd2ec7d3 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -2023,6 +2023,16 @@ AC_SUBST([EMPTY_VAR], [[]]) | |||
2023 | AC_DEFINE_DIR([MHD_PLUGIN_INSTALL_PREFIX], [libdir/libmicrohttpd], [tls plugins]) | 2023 | AC_DEFINE_DIR([MHD_PLUGIN_INSTALL_PREFIX], [libdir/libmicrohttpd], [tls plugins]) |
2024 | 2024 | ||
2025 | 2025 | ||
2026 | # should experimental code be compiled (code that may not yet compile)? | ||
2027 | AC_MSG_CHECKING(whether to compile experimental code) | ||
2028 | AC_ARG_ENABLE([experimental], | ||
2029 | [AS_HELP_STRING([--enable-experimental], [enable compiling experimental code])], | ||
2030 | [enable_experimental=${enableval}], | ||
2031 | [enable_experimental=no]) | ||
2032 | AC_MSG_RESULT($enable_experimental) | ||
2033 | AM_CONDITIONAL([HAVE_EXPERIMENTAL], [test "x$enable_experimental" = "xyes"]) | ||
2034 | |||
2035 | |||
2026 | AC_CONFIG_FILES([libmicrohttpd.pc | 2036 | AC_CONFIG_FILES([libmicrohttpd.pc |
2027 | w32/common/microhttpd_dll_res_vc.rc | 2037 | w32/common/microhttpd_dll_res_vc.rc |
2028 | Makefile | 2038 | Makefile |