From: Schanzenbach, Martin Date: Fri, 13 Dec 2019 13:00:17 +0000 (+0100) Subject: correctly detect curl/json with missing mhd X-Git-Tag: v0.12.0~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=340845f56f3702690dd883e964424fd44db24535;p=oweals%2Fgnunet.git correctly detect curl/json with missing mhd --- 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) \