Don't pollute LIBS when looking for -lssl && -lcrypto
authoraland <aland>
Tue, 22 Jun 2004 21:02:48 +0000 (21:02 +0000)
committeraland <aland>
Tue, 22 Jun 2004 21:02:48 +0000 (21:02 +0000)
This means that rlm_x99_token is currently broken, but WTF.

configure
configure.in

index 2470137..f0d1aa3 100755 (executable)
--- a/configure
+++ b/configure
@@ -20738,6 +20738,7 @@ done
   echo "$as_me:$LINENO: checking for OpenSSL version >= 0.9.7" >&5
 echo $ECHO_N "checking for OpenSSL version >= 0.9.7... $ECHO_C" >&6
        old_CPPFLAGS=$CPPFLAGS
+       old_LIBS="$LIBS"
        if test "x$OPENSSL_INCLUDE" != "x"; then
            CPPFLAGS="-I$OPENSSL_INCLUDE"
           fi
@@ -21100,6 +21101,7 @@ fi
             fi
            fi
        CPPFLAGS=$old_CPPFLAGS
+       LIBS="$old_LIBS"
 fi
 
 
index 00e936f..43f456e 100644 (file)
@@ -545,6 +545,7 @@ if test "x$ac_cv_header_openssl_ssl_h" = "xyes"; then
 
   AC_MSG_CHECKING([for OpenSSL version >= 0.9.7])
        old_CPPFLAGS=$CPPFLAGS
+       old_LIBS="$LIBS"
        if test "x$OPENSSL_INCLUDE" != "x"; then
            CPPFLAGS="-I$OPENSSL_INCLUDE"
           fi
@@ -574,6 +575,7 @@ if test "x$ac_cv_header_openssl_ssl_h" = "xyes"; then
             fi
            fi
        CPPFLAGS=$old_CPPFLAGS
+       LIBS="$old_LIBS"
 fi
 
 dnl #############################################################