Changeset 309 for libcaca


Ignore:
Timestamp:
Jan 3, 2004, 6:31:44 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • configure.ac: + Search for <slang/slang.h> in addition of <slang.h>.
Location:
libcaca/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r292 r309  
    5050
    5151if test "${enable_slang}" != "no"; then
    52   AC_CHECK_HEADERS(slang.h,
     52  AC_CHECK_HEADERS(slang.h slang/slang.h,
     53   ac_cv_my_have_slang="no"
    5354   [AC_CHECK_LIB(slang, SLkp_init,
    5455     [ac_cv_my_have_slang="yes"
     
    5657      CPPFLAGS="${CPPFLAGS} -DOPTIMISE_SLANG_PALETTE=1"
    5758      CACA_LIBS="${CACA_LIBS} -lslang"
    58       CACA_DRIVERS="${CACA_DRIVERS} slang"],
    59      [ac_cv_my_have_slang="no"])],
    60    [ac_cv_my_have_slang="no"])
     59      CACA_DRIVERS="${CACA_DRIVERS} slang"])])
    6160  if test "${ac_cv_my_have_slang}" = "no" -a "${enable_slang}" = "yes"; then
    6261    AC_MSG_ERROR([cannot find slang development files])
  • libcaca/trunk/src/caca.c

    r306 r309  
    3333
    3434#if defined(USE_SLANG)
    35 #   include <slang.h>
     35#   if defined(HAVE_SLANG_SLANG_H)
     36#       include <slang/slang.h>
     37#   else
     38#       include <slang.h>
     39#   endif
    3640#endif
    3741#if defined(USE_NCURSES)
  • libcaca/trunk/src/graphics.c

    r305 r309  
    3131
    3232#if defined(USE_SLANG)
    33 #   include <slang.h>
     33#   if defined(HAVE_SLANG_SLANG_H)
     34#       include <slang/slang.h>
     35#   else
     36#       include <slang.h>
     37#   endif
    3438#endif
    3539#if defined(USE_NCURSES)
  • libcaca/trunk/src/io.c

    r298 r309  
    3131
    3232#if defined(USE_SLANG)
    33 #   include <slang.h>
     33#   if defined(HAVE_SLANG_SLANG_H)
     34#       include <slang/slang.h>
     35#   else
     36#       include <slang.h>
     37#   endif
    3438#endif
    3539#if defined(USE_NCURSES)
Note: See TracChangeset for help on using the changeset viewer.