The attached patch fix the compilation.

Now I'm going to implement and test my ARM (Android) project using MHD as
HTTP server! :-)

-- 
Silvio Clécio
From a6502e13c302fd935b3d04cf55a583a6ce39ea9d Mon Sep 17 00:00:00 2001
From: silvioprog <[email protected]>
Date: Thu, 16 Feb 2017 03:44:37 -0300
Subject: [PATCH] fix compilation for arm

---
 src/microhttpd/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/Makefile.am b/src/microhttpd/Makefile.am
index 9bf5ace..6813a00 100644
--- a/src/microhttpd/Makefile.am
+++ b/src/microhttpd/Makefile.am
@@ -110,7 +110,7 @@ if USE_COVERAGE
   AM_CFLAGS += --coverage
 endif
 
-if !HAVE_TSEARCH
+if HAVE_TSEARCH
 libmicrohttpd_la_SOURCES += \
   tsearch.c tsearch.h
 endif
-- 
2.7.4

Reply via email to