Changeset 330 for libcaca/trunk/configure.ac
- Timestamp:
- Jan 8, 2004, 7:40:29 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/configure.ac
r327 r330 33 33 34 34 if test "${enable_conio}" != "no"; then 35 ac_cv_my_have_conio="no" 35 36 AC_CHECK_HEADERS(conio.h, 36 [ac_cv_my_have_conio="yes" 37 AC_MSG_CHECKING(for ScreenUpdate in pc.h) 37 [AC_MSG_CHECKING(for ScreenUpdate in pc.h) 38 38 AC_EGREP_HEADER(ScreenUpdate,pc.h, 39 [AC_MSG_RESULT(yes) 39 [ac_cv_my_have_conio="yes" 40 AC_MSG_RESULT(yes) 40 41 AC_DEFINE(SCREENUPDATE_IN_PC_H, 1, 41 Define if <pc.h> defines ScreenUpdate.)], 42 [AC_MSG_RESULT(no)]) 43 AC_DEFINE(USE_CONIO, 1, Define to activate the conio.h backend driver) 44 CACA_DRIVERS="${CACA_DRIVERS} conio"], 45 [ac_cv_my_have_conio="no"]) 42 Define if <pc.h> defines ScreenUpdate.) 43 AC_DEFINE(USE_CONIO, 1, Define to activate the conio.h backend driver) 44 CACA_DRIVERS="${CACA_DRIVERS} conio"], 45 [AC_MSG_RESULT(no)])]) 46 46 if test "${ac_cv_my_have_conio}" = "no" -a "${enable_conio}" = "yes"; then 47 47 AC_MSG_ERROR([cannot find conio.h]) … … 50 50 51 51 if test "${enable_slang}" != "no"; then 52 ac_cv_my_have_slang="no" 52 53 AC_CHECK_HEADERS(slang.h slang/slang.h, 53 ac_cv_my_have_slang="no"54 54 [AC_CHECK_LIB(slang, SLkp_init, 55 55 [ac_cv_my_have_slang="yes" … … 82 82 83 83 if test "${enable_ncurses}" != "no"; then 84 ac_cv_my_have_ncurses="no" 84 85 AC_CHECK_HEADERS(ncurses.h, 85 86 [AC_CHECK_LIB(ncurses, initscr, … … 87 88 AC_DEFINE(USE_NCURSES, 1, Define to activate the ncurses backend driver) 88 89 CACA_LIBS="${CACA_LIBS} -lncurses" 89 CACA_DRIVERS="${CACA_DRIVERS} ncurses"], 90 [ac_cv_my_have_ncurses="no"])], 91 [ac_cv_my_have_ncurses="no"]) 90 CACA_DRIVERS="${CACA_DRIVERS} ncurses"])]) 92 91 if test "${ac_cv_my_have_ncurses}" = "no" -a "${enable_ncurses}" = "yes"; then 93 92 AC_MSG_ERROR([cannot find ncurses development files])
Note: See TracChangeset
for help on using the changeset viewer.