projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b99cbf5
)
add ncurses to prereq checks
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 23 Jul 2006 23:02:37 +0000
(23:02 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 23 Jul 2006 23:02:37 +0000
(23:02 +0000)
SVN-Revision: 4244
openwrt/include/prereq.mk
patch
|
blob
|
history
diff --git
a/openwrt/include/prereq.mk
b/openwrt/include/prereq.mk
index 6642ce40e38099aa8d8069e0d50c4c6a427fdb3e..e514855a67fdf3177a583270a22f97934097dce8 100644
(file)
--- a/
openwrt/include/prereq.mk
+++ b/
openwrt/include/prereq.mk
@@
-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
echo 'int main(int argc, char **argv) { gzdopen(0, "rb"); return 0; }' | \
gcc -include zlib.h -x c -o $(TMP_DIR)/a.out -lz -
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 -