autoconf-archive/ac-archive-2007.0205-ncurses.patch

20 lines
683 B
Diff

--- ac-archive-2007.0205/ac-archive/mp_with_curses.m4 2007-02-02 02:15:21.000000000 +0100
+++ ac-archive-2007.0205/ac-archive/mp_with_curses.m4.fix 2007-05-21 09:28:08.000000000 +0200
@@ -29,7 +29,7 @@
mp_cv_curses=yes, mp_cv_curses=no)])
if test "$mp_cv_curses" = yes
then
- AC_DEFINE(HAVE_CURSES_H)
+ AC_DEFINE(HAVE_CURSES_H,1,[Define to use curses for screen management])
CURSES_LIB="-lcurses"
fi
fi
@@ -44,6 +44,7 @@
if test "$mp_cv_ncurses" = yes
then
AC_DEFINE(HAVE_NCURSES_H)
+ AC_DEFINE(HAVE_CURSES_H,1,[Define to use curses for screen management])
CURSES_LIB="-lncurses"
fi
fi