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 | 07eaf1e1b1c03d2c9308bdba4ec0fa32bbb96a48 (patch) | |
| tree | 7517861a8d9241671dcc7854154f34863932de03 /openwrt/include | |
| parent | b99cbf52672a7a00833a58af5cfd3ff768e362db (diff) | |
| download | mtk-20170518-07eaf1e1b1c03d2c9308bdba4ec0fa32bbb96a48.zip mtk-20170518-07eaf1e1b1c03d2c9308bdba4ec0fa32bbb96a48.tar.gz mtk-20170518-07eaf1e1b1c03d2c9308bdba4ec0fa32bbb96a48.tar.bz2 | |
add ncurses to prereq checks
SVN-Revision: 4244
Diffstat (limited to 'openwrt/include')
| -rw-r--r-- | openwrt/include/prereq.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openwrt/include/prereq.mk b/openwrt/include/prereq.mk index 6642ce4..e514855 100644 --- 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. \ )) +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 - |
