Changeset 361


Ignore:
Timestamp:
Jan 26, 2004, 11:52:30 AM (17 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
Files:
5 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"
  • libcaca/trunk/debian/changelog

    r355 r361  
     1libcaca (0.8-2) unstable; urgency=low
     2
     3  * src/caca.c src/event.c src/graphics.c:
     4    + Include <ncurses.h> instead of <curses.h> to fix m68k FTBFS.
     5
     6 -- Sam Hocevar (Debian packages) <sam+deb@zoy.org>  Mon, 26 Jan 2004 11:47:32 +0100
     7
    18libcaca (0.8-1) unstable; urgency=low
    29
  • 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.