Add check for libcurl when building for server

Signed-off-by: Jia Yuan Lo <jylo06g@gmail.com>
This commit is contained in:
Jia Yuan Lo 2020-11-21 22:41:25 +08:00 committed by GitHub
parent faf272ff36
commit defec425c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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])