[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r8265 - libmicrohttpd
From: |
gnunet |
Subject: |
[GNUnet-SVN] r8265 - libmicrohttpd |
Date: |
Thu, 19 Feb 2009 12:18:26 -0700 |
Author: durner
Date: 2009-02-19 12:18:26 -0700 (Thu, 19 Feb 2009)
New Revision: 8265
Modified:
libmicrohttpd/configure.ac
Log:
check whether exports list works (thanks to holindho)
Modified: libmicrohttpd/configure.ac
===================================================================
--- libmicrohttpd/configure.ac 2009-02-19 19:17:23 UTC (rev 8264)
+++ libmicrohttpd/configure.ac 2009-02-19 19:18:26 UTC (rev 8265)
@@ -258,6 +258,16 @@
MHD_LIB_LDFLAGS="-export-dynamic -no-undefined"
+dnl TODO insert a proper check here
+AC_CACHE_CHECK([whether -export-symbols-regex works],
+ gn_cv_export_symbols_regex_works,
+ [
+ case "$host_os" in
+ mingw*) gn_cv_export_symbols_regex_works=no;;
+ *) gn_cv_export_symbols_regex_works=yes;;
+ esac
+ ])
+
# optional: compile TLS client side code [only for test running] ?
AC_MSG_CHECKING(whether to compile TLS client side code)
AC_ARG_ENABLE(client-side,
@@ -270,7 +280,10 @@
then
AC_DEFINE([MHD_DEBUG_TLS],[0],[Compile client side code. This will enable
running some test cases.])
MSG_CLIENT_SIDE="disabled. running some test cases won't be possible"
- MHD_LIB_LDFLAGS="$MHD_LIB_LDFLAGS -export-symbols \$(srcdir)/EXPORT.sym"
+ if test "x$gn_cv_export_symbols_regex_works" = "xyes"
+ then
+ MHD_LIB_LDFLAGS="$MHD_LIB_LDFLAGS -export-symbols \$(srcdir)/EXPORT.sym"
+ fi
else
AC_DEFINE([MHD_DEBUG_TLS],[1],[Compile client side code. This will enable
running some test cases.])
MSG_CLIENT_SIDE="enabled"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r8265 - libmicrohttpd,
gnunet <=