pkgsrc/security/heimdal/patches/patch-lib_libedit_configure.ac

21 lines
671 B
Text
Raw Normal View History

$NetBSD: patch-lib_libedit_configure.ac,v 1.2 2015/07/11 04:26:57 rodent Exp $
2013-10-11 18:21:40 +02:00
Include termcap in the termcap test
--- lib/libedit/configure.ac.orig 2012-12-09 22:06:44.000000000 +0000
2013-10-11 18:21:40 +02:00
+++ lib/libedit/configure.ac
@@ -33,9 +33,10 @@ AC_PROG_AWK
EL_MANTYPE
-AC_CHECK_LIB(curses, tgetent,,
- [AC_CHECK_LIB(ncurses, tgetent,,
- [AC_MSG_ERROR([libcurses or libncurses are required!])] )] )
+AC_CHECK_LIB(termcap, tgetent,,
+ [AC_CHECK_LIB(curses, tgetent,,
+ [AC_CHECK_LIB(ncurses, tgetent,,
+ [AC_MSG_ERROR([libtermcap, libcurses or libncurses are required!])] )] )] )
### use option --enable-widec to turn on use of wide-character support