$NetBSD: patch-ad,v 1.11 2006/02/12 17:24:23 salo Exp $ --- nbase/configure.orig 2006-02-02 03:18:49.000000000 +0100 +++ nbase/configure 2006-02-12 18:08:45.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 @@ -7081,7 +7083,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 @@ -7144,7 +7146,7 @@ #define HAVE_LIBSSL 1 _ACEOF - LIBS="-lssl $LIBS" + LIBS="-lssl -lcrypto $LIBS" else use_openssl="no"