diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-07-23 23:02:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-07-23 23:02:37 +0000 |
commit | 21a3a1b8bad660fe54327fcece2c329297251111 (patch) | |
tree | 05c180cd014fc9cb1b073744466cf6c80e44c789 | |
parent | d219e885a5eed7744f667e40a8a4951cae917530 (diff) | |
download | upstream-21a3a1b8bad660fe54327fcece2c329297251111.tar.gz upstream-21a3a1b8bad660fe54327fcece2c329297251111.tar.bz2 upstream-21a3a1b8bad660fe54327fcece2c329297251111.zip |
add ncurses to prereq checks
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4244 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/prereq.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/prereq.mk b/include/prereq.mk index 6642ce40e3..e514855a67 100644 --- a/include/prereq.mk +++ b/include/prereq.mk @@ -84,6 +84,16 @@ $(eval $(call Require,working-g++, \ No working GNU C++ Compiler (g++) was found on your system. \ )) +define Require/ncurses + echo 'int main(int argc, char **argv) { initscr(); return 0; }' | \ + gcc -include ncurses.h -x c -o $(TMP_DIR)/a.out -lncurses - +endef + +$(eval $(call Require,ncurses, \ + No ncurses development files were not found on your system. \ +)) + + define Require/zlib echo 'int main(int argc, char **argv) { gzdopen(0, "rb"); return 0; }' | \ gcc -include zlib.h -x c -o $(TMP_DIR)/a.out -lz - |