From defec425c4c64a8a5dd4ad91af0a9fa3418fee75 Mon Sep 17 00:00:00 2001 From: Jia Yuan Lo Date: Sat, 21 Nov 2020 22:41:25 +0800 Subject: [PATCH] Add check for libcurl when building for server Signed-off-by: Jia Yuan Lo --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 31eaea2558..79d1c2b06d 100644 --- a/configure.ac +++ b/configure.ac @@ -451,7 +451,7 @@ AS_IF([test "x${enable_client}" = "xyes" -o "x${enable_server}" = "xyes"], dnl ---------- libcurl (m4/libcurl.m4) ------------------------------ dnl curl is needed for client -AS_IF([test "x${enable_client}" = "xyes"], +AS_IF([test "x${enable_client}" = "xyes" -o "x${enable_server}" = "xyes"], [ LIBCURL_CHECK_CONFIG([yes], [7.17.1], [haveCurl=yes], [haveCurl=no])