@@ -176,7 +176,7 @@ KC_CHECK := gettext
ifeq ($(MAKECMDGOALS),nconfig)
hostprogs-y += nconf
- KC_CHECK += ncurses
+ KC_CHECK += menu panel ncurses
endif
ifeq ($(MAKECMDGOALS),menuconfig)
@@ -211,8 +211,6 @@ HOSTCFLAGS_zconf.tab.o := -I$(src)
HOSTCFLAGS_gconf.o = -Wno-missing-prototypes
-HOSTLOADLIBES_nconf = -lmenu -lpanel
-
need-check := $(addprefix $(obj)/,$(frontends-objs))
need-check += $(addprefix $(obj)/,$(lxdialog))
@@ -47,6 +47,12 @@ check_gtk()
echo "HOSTLOADLIBES_gconf += $libs" >> ${obj}/.tmp_check
}
+check_menu()
+{
+
+ echo "HOSTLOADLIBES_nconf += -lmenu" >> ${obj}/.tmp_check
+}
+
check_ncurses()
{
local cflags=""
@@ -96,6 +102,12 @@ check_ncurses()
echo "HOSTLOADLIBES_nconf += $libs" >> ${obj}/.tmp_check
}
+check_panel()
+{
+
+ echo "HOSTLOADLIBES_nconf += -lpanel" >> ${obj}/.tmp_check
+}
+
check_qt()
{
local cflags=""
@@ -163,7 +175,9 @@ for arg in $*; do
case $arg in
gettext) ;;
gtk) ;;
+ menu) ;;
ncurses) ;;
+ panel) ;;
qt) ;;
*)
echo " *"