Changeset 361 for libcaca/trunk/src


Ignore:
Timestamp:
Jan 26, 2004, 11:52:30 AM (18 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.
Location:
libcaca/trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/caca.c

    r359 r361  
    4040#endif
    4141#if defined(USE_NCURSES)
    42 #   include <curses.h>
     42#   if defined(HAVE_NCURSES_H)
     43#       include <ncurses.h>
     44#   else
     45#       include <curses.h>
     46#   endif
    4347#endif
    4448#if defined(USE_CONIO)
  • libcaca/trunk/src/event.c

    r357 r361  
    3838#endif
    3939#if defined(USE_NCURSES)
    40 #   include <curses.h>
     40#   if defined(HAVE_NCURSES_H)
     41#       include <ncurses.h>
     42#   else
     43#       include <curses.h>
     44#   endif
    4145#endif
    4246#if defined(USE_CONIO)
  • libcaca/trunk/src/graphics.c

    r357 r361  
    3838#endif
    3939#if defined(USE_NCURSES)
    40 #   include <curses.h>
     40#   if defined(HAVE_NCURSES_H)
     41#       include <ncurses.h>
     42#   else
     43#       include <curses.h>
     44#   endif
    4145#endif
    4246#if defined(USE_CONIO)
Note: See TracChangeset for help on using the changeset viewer.