Lines 207-213
Link Here
|
207 |
|
207 |
|
208 |
# Unless the user specify --without-curses, check for curses. |
208 |
# Unless the user specify --without-curses, check for curses. |
209 |
if test "x$with_curses" != "xno"; then |
209 |
if test "x$with_curses" != "xno"; then |
210 |
AC_CHECK_LIB(ncurses, wgetch, [GRUB_LIBS="$GRUB_LIBS -lncurses" |
210 |
AC_CHECK_LIB(ncurses, wgetch, [GRUB_LIBS="$GRUB_LIBS -lncurses -ltinfo -ltinfow" |
211 |
AC_DEFINE(HAVE_LIBCURSES, 1, [Define if you have a curses library])], |
211 |
AC_DEFINE(HAVE_LIBCURSES, 1, [Define if you have a curses library])], |
212 |
[AC_CHECK_LIB(curses, wgetch, [GRUB_LIBS="$GRUB_LIBS -lcurses" |
212 |
[AC_CHECK_LIB(curses, wgetch, [GRUB_LIBS="$GRUB_LIBS -lcurses" |
213 |
AC_DEFINE(HAVE_LIBCURSES, 1, [Define if you have a curses library])])]) |
213 |
AC_DEFINE(HAVE_LIBCURSES, 1, [Define if you have a curses library])])]) |