--- configure.in.orig	Fri Mar  4 00:46:13 2005
+++ configure.in	Sat Mar 26 00:52:52 2005
@@ -140,7 +140,7 @@
 	saved_CFLAGS="$CFLAGS"
 
 	# First just try to see if it exists in the default location
-	LIBS="$saved_LIBS -lssl -lcrypto"
+	LIBS="$saved_LIBS -L__PREFIX__/lib -lssl -lcrypto"
 	CFLAGS="$saved_CFLAGS"
 	AC_TRY_LINK([#include <openssl/ssl.h>],
 		[SSL_accept(NULL);], have_ssl="yes")
