Changeset 156 for ttyvaders/trunk/configure.ac
- Timestamp:
- Nov 12, 2003, 5:23:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ttyvaders/trunk/configure.ac
r126 r156 19 19 AC_ARG_ENABLE(ncurses, 20 20 [ --enable-ncurses ncurses graphics support (default disabled)]) 21 AC_ARG_ENABLE(conio, 22 [ --enable-conio DOS conio.h graphics support (default disabled)]) 21 23 22 24 USE_SLANG=false 23 25 USE_NCURSES=false 24 if test "${enable_ncurses}" = "yes"; then 26 USE_CONIO=false 27 if test "${enable_conio}" = "yes"; then 28 AC_CHECK_HEADER(conio.h,:,AC_MSG_ERROR([cannot find conio.h header])) 29 AC_DEFINE(USE_CONIO, 1, Define if the backend driver is conio.h) 30 USE_CONIO=: 31 elif test "${enable_ncurses}" = "yes"; then 25 32 AC_CHECK_HEADER(ncurses.h,:,AC_MSG_ERROR([cannot find ncurses headers])) 26 33 AC_CHECK_LIB(ncurses,initscr,:,AC_MSG_ERROR([cannot find ncurses library]))
Note: See TracChangeset
for help on using the changeset viewer.