configure: check curl only if building client

This commit is contained in:
David Anderson 2016-12-17 11:27:19 -08:00
parent ed3283faf3
commit 2af9a36c92
1 changed files with 2 additions and 2 deletions

View File

@ -445,9 +445,9 @@ then
fi
dnl ---------- libcurl (m4/libcurl.m4) ------------------------------
dnl curl is needed for client and server
dnl curl is needed for client
if [[ "x${enable_client}" = "xyes" -o "x${enable_server}" = "xyes" ]]
if [[ "x${enable_client}" = "xyes" ]]
then
LIBCURL_CHECK_CONFIG([yes], [7.17.1], [haveCurl=yes], [haveCurl=no])