[PATCH]Fix menuconfig error message

From: Kurt Wall
Date: Mon Jul 04 2005 - 09:14:21 EST


If you try to run `make menuconfig' on a system that lacks ncurses
development libs, you get an error message telling you to install
ncurses-devel. Some popular distributions don't have an ncurses-devel
package. This patch generalizes the error message. Patch is against
2.6.12.

MAINTAINERS doesn't list a maintainer for menuconfig or lxdialog,
so I sent this to lkml, kbuild-devel, and to the kconfig maintainer.

Signed-off-by: Kurt Wall <kwall@xxxxxxxxxxxxx>


--- a/scripts/lxdialog/Makefile 2005-07-04 09:31:38.000000000 -0400
+++ b/scripts/lxdialog/Makefile 2005-07-04 09:38:05.000000000 -0400
@@ -35,8 +35,10 @@
echo -e "\007" ;\
echo ">> Unable to find the Ncurses libraries." ;\
echo ">>" ;\
- echo ">> You must install ncurses-devel in order" ;\
- echo ">> to use 'make menuconfig'" ;\
+ echo ">> You must install ncurses development libraries" ;\
+ echo ">> to use 'make menuconfig'. If you have an RPM-based" ;\
+ echo ">> Debian-based distribution you should install the" ;\
+ echo ">> ncurses-devel package." ;\
echo ;\
exit 1 ;\
fi


Kurt
--
"I have a very firm grasp on reality! I can reach out and strangle it
any time!"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/