Ignore:
Timestamp:
Jan 26, 2004, 11:52:30 AM (16 years ago)
Author:
Sam Hocevar
Message:
  • configure.ac: + Check for curses.h as well as ncurses.h.
  • src/caca.c src/event.c src/graphics.c: + Include curses.h if ncurses.h was not found.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r355 r361  
    123123if test "${enable_ncurses}" != "no"; then
    124124  ac_cv_my_have_ncurses="no"
    125   AC_CHECK_HEADERS(ncurses.h,
     125  AC_CHECK_HEADERS(curses.h ncurses.h,
    126126   [AC_CHECK_LIB(ncurses, initscr,
    127127     [ac_cv_my_have_ncurses="yes"
Note: See TracChangeset for help on using the changeset viewer.