diff options
-rw-r--r-- | configure.ac | 10 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
2 files changed, 12 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 |
diff --git a/src/Makefile.am b/src/Makefile.am index 7cdcace0..ee9c3fcb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -15,7 +15,9 @@ SUBDIRS += examples | |||
15 | endif | 15 | endif |
16 | 16 | ||
17 | # Finally (last!) also build experimental lib... | 17 | # Finally (last!) also build experimental lib... |
18 | if HAVE_EXPERIMENTAL | ||
18 | SUBDIRS += lib | 19 | SUBDIRS += lib |
20 | endif | ||
19 | 21 | ||
20 | EXTRA_DIST = \ | 22 | EXTRA_DIST = \ |
21 | datadir/cert-and-key.pem \ | 23 | datadir/cert-and-key.pem \ |