1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 02:48:26 +02:00

add ncurses to prereq checks

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4244 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-07-23 23:02:37 +00:00
parent ce1a7b70f9
commit 27335d91b4

View File

@ -84,6 +84,16 @@ $(eval $(call Require,working-g++, \
No working GNU C++ Compiler (g++) was found on your system. \ 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 define Require/zlib
echo 'int main(int argc, char **argv) { gzdopen(0, "rb"); return 0; }' | \ echo 'int main(int argc, char **argv) { gzdopen(0, "rb"); return 0; }' | \
gcc -include zlib.h -x c -o $(TMP_DIR)/a.out -lz - gcc -include zlib.h -x c -o $(TMP_DIR)/a.out -lz -