Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 568106
Collapse All | Expand All

(-)grub-0.97/configure.ac (-1 / +1 lines)
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])])])

Return to bug 568106