diff --git a/checkin_notes b/checkin_notes index d36271ce44..a214f31095 100755 --- a/checkin_notes +++ b/checkin_notes @@ -11490,3 +11490,10 @@ Rom 7 Sept 2005 (staging) - Tag for 5.1.2 release, all platforms boinc_core_release_5.1.2 +Bruce 7 Sept 2005 + - From Reinhard: make openssl and curl detection independent; useful for + building server backend components. + configure.ac + m4/ + check_ssl.m4 + diff --git a/configure.ac b/configure.ac index 20aad6df60..2e242c37c2 100644 --- a/configure.ac +++ b/configure.ac @@ -255,7 +255,10 @@ dnl m4/boinc_getsockopt.m4 BOINC_GETSOCKOPT_TYPE dnl ---------- SSL (m4/check_ssl.m4) -##CHECK_SSL +CHECK_SSL +if test "${found_ssl}" = "yes"; then + BOINC_EXTRA_LIBS="${BOINC_EXTRA_LIBS} ${SSL_LIBS}" +fi dnl ---------- libcurl (m4/libcurl.m4) ------------------------------ @@ -279,16 +282,19 @@ ERROR: could not find (recent enough) development-libs for libcurl. ================================================================================ ]) else - if test "${enable_debug}" = yes; then - echo "LIBCURL = ${LIBCURL}" - echo "LIBCURL_CPPFLAGS = ${LIBCURL_CPPFLAGS}" - fi - ## add libcurl et al. to the list of statically linked libs STATIC_LIB_LIST="${STATIC_LIB_LIST} curl idn crypto ssl krb5 k5crypto gssapi_krb5 com_err resolv" CPPFLAGS="${CPPFLAGS} ${LIBCURL_CPPFLAGS}" CURL_LIB_PATHS=`echo $LIBCURL | sed 's/-l[[^ ]]*//g'` - LDFLAGS="$LDFLAGS $CURL_LIB_PATHS" + LDFLAGS="$CURL_LIB_PATHS $LDFLAGS" + + if test "${enable_debug}" = yes; then + echo "LIBCURL = ${LIBCURL}" + echo "LIBCURL_CPPFLAGS = ${LIBCURL_CPPFLAGS}" + echo "CURL_LIB_PATHS = ${CURL_LIB_PATHS}" + echo "LDFLAGS = ${LDFLAGS}" + fi + fi fi diff --git a/m4/check_ssl.m4 b/m4/check_ssl.m4 index c6fc398878..4dc5faaf41 100644 --- a/m4/check_ssl.m4 +++ b/m4/check_ssl.m4 @@ -36,7 +36,7 @@ if test x_$found_ssl != x_yes; then ]) else printf "OpenSSL found in $ssldir\n"; - LIBS="$LIBS -lssl -lcrypto"; + SSL_LIBS="-lssl -lcrypto"; LDFLAGS="$LDFLAGS -L$ssldir/lib"; AC_DEFINE_UNQUOTED([USE_OPENSSL],[1], ["Define to 1 if you want to use the openssl crypto library"])