[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: add --enable-experie
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: add --enable-experiemental option to not compile src/lib/ unless explicitly requested |
Date: |
Thu, 18 Oct 2018 17:34:55 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new b55cd46b add --enable-experiemental option to not compile src/lib/
unless explicitly requested
b55cd46b is described below
commit b55cd46bfd8c477cd9eb5c3b6405acea320b5190
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Oct 18 17:34:53 2018 +0200
add --enable-experiemental option to not compile src/lib/ unless explicitly
requested
---
configure.ac | 10 ++++++++++
src/Makefile.am | 2 ++
2 files changed, 12 insertions(+)
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], [[]])
AC_DEFINE_DIR([MHD_PLUGIN_INSTALL_PREFIX], [libdir/libmicrohttpd], [tls
plugins])
+# should experimental code be compiled (code that may not yet compile)?
+AC_MSG_CHECKING(whether to compile experimental code)
+AC_ARG_ENABLE([experimental],
+ [AS_HELP_STRING([--enable-experimental], [enable compiling experimental
code])],
+ [enable_experimental=${enableval}],
+ [enable_experimental=no])
+AC_MSG_RESULT($enable_experimental)
+AM_CONDITIONAL([HAVE_EXPERIMENTAL], [test "x$enable_experimental" = "xyes"])
+
+
AC_CONFIG_FILES([libmicrohttpd.pc
w32/common/microhttpd_dll_res_vc.rc
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
endif
# Finally (last!) also build experimental lib...
+if HAVE_EXPERIMENTAL
SUBDIRS += lib
+endif
EXTRA_DIST = \
datadir/cert-and-key.pem \
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: add --enable-experiemental option to not compile src/lib/ unless explicitly requested,
gnunet <=