Added missing brackets in ncurses check.

oldstable
Bernhard Rosenkraenzer 2002-01-06 19:08:03 +00:00 committed by Alexandre Julliard
parent 7c822cc0dc
commit 5ea3031cf7
1 changed files with 2 additions and 2 deletions

View File

@ -343,13 +343,13 @@ CURSESLIBS=""
if test "$CURSES" = "yes"
then
AC_CHECK_HEADERS(ncurses.h,
AC_CHECK_LIB(ncurses,waddch,
[AC_CHECK_LIB(ncurses,waddch,
[AC_DEFINE(HAVE_LIBNCURSES, 1, [Define if you have the ncurses library (-lncurses)])
CURSESLIBS="-lncurses"],
[AC_CHECK_HEADERS(curses.h,
[AC_CHECK_LIB(curses,waddch,
[AC_DEFINE(HAVE_LIBCURSES, 1, [Define if you have the curses library (-lcurses)])
CURSESLIBS="-lcurses"])])]))
CURSESLIBS="-lcurses"])])])])
saved_libs="$LIBS"
LIBS="$CURSESLIBS $LIBS"
AC_CHECK_FUNCS(getbkgd resizeterm)