--- configure.orig	Wed Sep  3 19:59:43 2003
+++ configure	Sat Jan 31 20:48:28 2004
@@ -22202,7 +22202,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lssl  $LIBS"
+LIBS="-lcrypto -lssl  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 #include "confdefs.h"
@@ -22252,7 +22252,7 @@
 echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_EVP_sha1" >&5
 echo "${ECHO_T}$ac_cv_lib_ssl_EVP_sha1" >&6
 if test $ac_cv_lib_ssl_EVP_sha1 = yes; then
-   LIBS="-lssl  $LIBS"
+   LIBS="-lcrypto -lssl  $LIBS"
 else
    exit 1
 fi
@@ -22366,13 +22366,13 @@
 fi
 
 
-echo "$as_me:$LINENO: checking for init_snmp in -lsnmp" >&5
-echo $ECHO_N "checking for init_snmp in -lsnmp... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking for init_snmp in -lnetsnmp" >&5
+echo $ECHO_N "checking for init_snmp in -lnetsnmp... $ECHO_C" >&6
 if test "${ac_cv_lib_snmp_init_snmp+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lsnmp  $LIBS"
+LIBS="-lnetsnmp  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 #include "confdefs.h"
@@ -22422,7 +22422,7 @@
 echo "$as_me:$LINENO: result: $ac_cv_lib_snmp_init_snmp" >&5
 echo "${ECHO_T}$ac_cv_lib_snmp_init_snmp" >&6
 if test $ac_cv_lib_snmp_init_snmp = yes; then
-   LIBS="-lsnmp $LIBS"
+   LIBS="-lnetsnmp $LIBS"
 else
    exit 1
 fi
