diff -urN nast-0.2.0/configure.ac nast-0.2.0./configure.ac
--- nast-0.2.0/configure.ac	2004-01-20 19:55:00.000000000 +0100
+++ nast-0.2.0./configure.ac	2007-07-08 18:59:27.000000000 +0200
@@ -158,7 +158,7 @@
 fi
 
 ENABLE_NCRS="no"
-AC_CHECK_LIB(ncurses, initscr, ENABLE_NCRS="yes"; NCURSES=ncurses/n_nast.o; LIBS="-lncurses $LIBS"; AC_DEFINE(HAVE_LIBNCURSES), AC_MSG_RESULT([
+AC_CHECK_LIB(ncurses, initscr, ENABLE_NCRS="yes"; NCURSES=ncurses/n_nast.o; LIBS="-lncurses $LIBS"; AC_DEFINE(HAVE_LIBNCURSES, 1,[libncurses]), AC_MSG_RESULT([
 
 Ncurses library (*) not found in your system.
 You can download it from official web site: http://www.gnu.org/software/ncurses/ncurses.html
@@ -196,7 +196,7 @@
 fi
 
 ENABLE_NCRS="no"
-AC_CHECK_LIB(menu, menu_opts_off, ENABLE_NCRS="yes"; MENU=ncurses/n_menu.o; LIBS="-lmenu $LIBS"; AC_DEFINE(HAVE_LIBMENU), AC_MSG_RESULT([
+AC_CHECK_LIB(menu, menu_opts_off, ENABLE_NCRS="yes"; MENU=ncurses/n_menu.o; LIBS="-lmenu $LIBS"; AC_DEFINE(HAVE_LIBMENU, 1, [libmenu]), AC_MSG_RESULT([
 
 Menu library (*) not found in your system.
 You can download it from official web site: http://www.gnu.org/software/ncurses/ncurses.html
