$NetBSD: patch-ad,v 1.8 2004/01/22 11:20:04 salo Exp $ --- nbase/configure.orig 2004-01-12 04:23:12.000000000 +0100 +++ nbase/configure 2004-01-22 10:19:15.000000000 +0100 @@ -9,6 +9,8 @@ ## M4sh Initialization. ## ## --------------------- ## +LIBS= + # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh @@ -7068,7 +7070,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lssl $LIBS" +LIBS="-lssl -lcrypto $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -7131,7 +7133,7 @@ #define HAVE_LIBSSL 1 _ACEOF - LIBS="-lssl $LIBS" + LIBS="-lssl -lcrypto $LIBS" else use_openssl="no"