From 340845f56f3702690dd883e964424fd44db24535 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Fri, 13 Dec 2019 14:00:17 +0100 Subject: correctly detect curl/json with missing mhd --- src/Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 09d176100..1bcc1ae7b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -24,13 +24,15 @@ endif endif if HAVE_JSON +if HAVE_MHD JSON_DIR = json +endif +endif if HAVE_LIBGNURL - JSON_DIR += curl + CURL_DIR = curl else if HAVE_LIBCURL - JSON_DIR += curl -endif + CURL_DIR = curl endif endif @@ -81,6 +83,7 @@ SUBDIRS = \ arm \ $(TESTING) \ $(JSON_DIR) \ + $(CURL_DIR) \ $(REST_DIR) \ peerinfo \ $(SQLITE_DIR) \ -- cgit v1.2.3