From 373d71eaeb9d2ce5e42047f988dd369be81d72b3 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 19 Jan 2015 17:05:23 -0500 Subject: [PATCH] BUILD: Only check for OpenSSL if building the client or server software --- configure.ac | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 5dcbca352b..dc4fda6e65 100644 --- a/configure.ac +++ b/configure.ac @@ -465,9 +465,11 @@ ERROR: could not find (recent enough) development-libs for libcurl. fi dnl ---------- SSL (m4/check_ssl.m4) -CHECK_SSL -if test "${found_ssl}" = "yes"; then - BOINC_EXTRA_LIBS="${BOINC_EXTRA_LIBS} ${SSL_LIBS}" +if [test "${enable_client}" = yes; || test "${enable_server}" = yes;] then + CHECK_SSL + if test "${found_ssl}" = "yes"; then + BOINC_EXTRA_LIBS="${BOINC_EXTRA_LIBS} ${SSL_LIBS}" + fi fi dnl save the libs, since SAH_CHECK_LIB() will change them