android_kernel_motorola_sm6225/scripts/kconfig/lxdialog
Sam Ravnborg 6e588f6dcf kconfig: if ncurses-devel is missing then say so
With this patch when ncurses-devel (or whatever it is named)
is missing trying to run menuconfig will result in this:

$ make menuconfig
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
 *** Unable to find the ncurses libraries or the
 *** required header files.
 *** 'make menuconfig' requires the ncurses libraries.
 ***
 *** Install ncurses (ncurses-devel) and try again.
 ***
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2

Much better than before where we just listed some build errors.
The other *config targets will work indepenednt on ncurses
being present or not.

Includes improvements suggested by: Frans Pop <elendil@planet.nl>

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Frans Pop <elendil@planet.nl>
2008-01-28 23:14:36 +01:00
..
.gitignore gitignore: ignore more generated files 2006-01-03 11:35:26 +01:00
BIG.FAT.WARNING kconfig: move lxdialog to scripts/kconfig/lxdialog 2005-12-16 21:35:19 +01:00
check-lxdialog.sh kconfig: if ncurses-devel is missing then say so 2008-01-28 23:14:36 +01:00
checklist.c kconfig/lxdialog: support resize 2006-09-30 11:19:20 +02:00
dialog.h menuconfig: remember alternate config filename 2007-05-02 20:58:09 +02:00
inputbox.c kconfig/lxdialog: support resize 2006-09-30 11:19:20 +02:00
menubox.c kconfig/lxdialog: clear long menu lines 2006-09-30 11:19:20 +02:00
textbox.c kconfig/lxdialog: support resize 2006-09-30 11:19:20 +02:00
util.c menuconfig: remember alternate config filename 2007-05-02 20:58:09 +02:00
yesno.c kconfig/lxdialog: support resize 2006-09-30 11:19:20 +02:00