$OpenBSD: patch-configure_ac,v 1.1 2004/01/14 02:05:02 brad Exp $ --- configure.ac.orig 2004-01-11 01:36:26.000000000 -0500 +++ configure.ac 2004-01-11 01:44:16.000000000 -0500 @@ -213,10 +213,13 @@ int main () { SLtt_initialize (NULL); re CURSES_LIB_NAME=slang], [ AC_MSG_RESULT(no) # We might need the term library + __libs=$LIBS + LIBS= for termlib in ncurses curses termcap terminfo termlib; do AC_CHECK_LIB([${termlib}], tputs, [tcap="-l$termlib"]) test -n "$tcap" && break done + LIBS=$__libs AC_MSG_CHECKING([for SLtt_initialize in -lslang $tcap]) LIBS="$LIBS $tcap"