Added missing brackets in ncurses check.
This commit is contained in:
parent
7c822cc0dc
commit
5ea3031cf7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue