From 97b2f9f1fcf7535c774307a4177b37a698673a8c Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Fri, 27 Mar 2009 21:08:39 +0100 Subject: [PATCH] fix configure.in --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index b47eaae1..3e2989d7 100644 --- a/configure.in +++ b/configure.in @@ -45,6 +45,7 @@ dnl ======================== dnl = checking for ncurses = dnl ======================== if test "$pdcurses" = "no" ; then + pdcurses=XCurses if test "$unicode" = "yes" ; then curses_config_bin=ncursesw5-config curses_lib=ncursesw @@ -67,7 +68,7 @@ if test "$pdcurses" = "XCurses" && test "$CURSES_CONFIG" != "" ; then LDFLAGS="$LDFLAGS `$CURSES_CONFIG --libs`" AC_CHECK_LIB($curses_lib, initscr, , AC_MSG_ERROR([$curses_lib library is required])) else - AC_CHECK_LIB($curses_lib, initscr, LDFLAGS="$LDFLAGS -l$curses_lib", AC_MSG_ERROR([$ncurses_lib library is required])) + AC_CHECK_LIB($curses_lib, initscr, LDFLAGS="$LDFLAGS -l$curses_lib", AC_MSG_ERROR([$curses_lib library is required])) fi if test "$pdcurses" != "no" ; then AC_CHECK_LIB($curses_lib, Xinitscr, AC_DEFINE([XCURSES], [1], [x11 pdcurses available]), )