At Sun, 7 May 2006 16:06:10 +0200, Étienne Bersac wrote: > > Okey, > > It seems that i needed to re run ../configure an recompile the > project after installing libncurses5-dev . That would be great if ./ > configure check for ncurses headers.
We already check for it, but we just continue when we don't find it. Configure should abort when it doesn't find curses however. This patch gives you an error message when the curses library isn't found. Jeroen Dekkers 2006-05-14 Jeroen Dekkers <[EMAIL PROTECTED]> * configure.ac: Display an error when the curses library isn't found. Index: configure.ac =================================================================== RCS file: /cvsroot/grub/grub2/configure.ac,v retrieving revision 1.27 diff -u -p -r1.27 configure.ac --- configure.ac 9 May 2006 00:05:49 -0000 1.27 +++ configure.ac 14 May 2006 14:24:34 -0000 @@ -187,7 +187,8 @@ fi # Check for curses. AC_CHECK_LIB(ncurses, wgetch, [LIBCURSES="-lncurses"], - [AC_CHECK_LIB(curses, wgetch, [LIBCURSES="-lcurses"])]) + AC_CHECK_LIB(curses, wgetch, [LIBCURSES="-lcurses"], + AC_MSG_ERROR([curses library not found]))) AC_SUBST(LIBCURSES) # Check for headers. _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel