Portability fixes from Mats Erik Andersson <debian@gisladisker.se>
It restores compilability and most functionality for GNU/Linux, GNU/kFreeBSD, FreeBSD, OpenBSD, OpenSolaris/NexentaCore.
This commit is contained in:
@@ -355,7 +355,7 @@ oldLIBS=$LIBS
|
||||
for curseslib in ncursesw curses ncurses ; do
|
||||
LIBS="$oldLIBS -l$curseslib"
|
||||
AC_TRY_LINK([
|
||||
#include <curses.h>
|
||||
#include <$curseslib.h>
|
||||
], [
|
||||
mvchgat(0, 0, 1, A_REVERSE, 0, NULL)
|
||||
], [
|
||||
|
||||
Reference in New Issue
Block a user