$OpenBSD: patch-configure_in,v 1.3 2001/09/19 20:44:53 todd Exp $
--- configure.in.orig	Wed Sep 19 15:27:16 2001
+++ configure.in	Wed Sep 19 15:26:41 2001
@@ -450,7 +450,7 @@ if test "$want_readline" = yes; then
       if test "$bx_debugger" = 1; then
 	# only add readline library if debugger is on
 	AC_DEFINE(HAVE_LIBREADLINE, 1)
-	READLINE_LIB='-lreadline'
+	READLINE_LIB='-lreadline -lcurses'
       fi
     ]
   )
