Changeset 4244


Ignore:
Timestamp:
2006-07-24T01:02:37+02:00 (12 years ago)
Author:
nbd
Message:

add ncurses to prereq checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/buildroot-ng/openwrt/include/prereq.mk

    r4204 r4244  
    8585)) 
    8686 
     87define Require/ncurses 
     88        echo 'int main(int argc, char **argv) { initscr(); return 0; }' | \ 
     89                gcc -include ncurses.h -x c -o $(TMP_DIR)/a.out -lncurses - 
     90endef 
     91 
     92$(eval $(call Require,ncurses, \ 
     93        No ncurses development files were not found on your system. \ 
     94)) 
     95 
     96 
    8797define Require/zlib 
    8898        echo 'int main(int argc, char **argv) { gzdopen(0, "rb"); return 0; }' | \ 
Note: See TracChangeset for help on using the changeset viewer.