$OpenBSD: patch-configure,v 1.1.1.1 2006/03/20 16:19:27 mbalmer Exp $ --- configure.orig Tue Mar 7 12:18:37 2006 +++ configure Tue Mar 7 12:19:24 2006 @@ -3922,13 +3922,13 @@ fi -echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 -echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 +echo "$as_me:$LINENO: checking for main in -lcrypto" >&5 +echo $ECHO_N "checking for main in -lcrypto... $ECHO_C" >&6 if test "${ac_cv_lib_crypt_main+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lcrypt $LIBS" +LIBS="-lcrypto $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -3984,7 +3984,7 @@ if test $ac_cv_lib_crypt_main = yes; the #define HAVE_LIBCRYPT 1 _ACEOF - LIBS="-lcrypt $LIBS" + LIBS="-lcrypto $LIBS" fi