From: Alan T. DeKok Date: Tue, 20 Oct 2009 14:07:18 +0000 (+0200) Subject: Fix openssl checks X-Git-Tag: release_2_1_8~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1d463b079fdcfe1a5f4dc7e4b4503baf5498bc8;p=thirdparty%2Ffreeradius-server.git Fix openssl checks --- diff --git a/configure.in b/configure.in index d53287d544d..84b66f3e571 100644 --- a/configure.in +++ b/configure.in @@ -520,8 +520,9 @@ dnl Check for OpenSSL libraries. OPENSSL_LIBS= if test "x$WITH_OPENSSL" = xyes; then old_LIBS=$LIBS + old_LDFLAGS="$LDFLAGS" if test "x$OPENSSL_LIB_DIR" != "x"; then - LIBS="-L$OPENSSL_LIB_DIR $LIBS" + LDFLAGS="$LDFLAGS -L$OPENSSL_LIB_DIR" fi AC_CHECK_LIB(crypto, DH_new, [ @@ -539,6 +540,7 @@ if test "x$WITH_OPENSSL" = xyes; then ], []) ], []) LIBS=$old_LIBS + LDFLAGS="$old_LDFLAGS" fi AC_CHECK_LIB(ws2_32, htonl)