Ignore:
Timestamp:
Jan 11, 2004, 7:09:01 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • configure.ac src/time.c: + Look for Sleep in -lkernel32.
  • examples/cacaview.c: + Use caca_wait_event() instead of usleep()/caca_get_event().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r335 r337  
    3030
    3131AC_CHECK_HEADERS(inttypes.h endian.h)
    32 AC_CHECK_FUNCS(vsnprintf getenv putenv strcasecmp usleep Sleep gettimeofday)
     32AC_CHECK_FUNCS(vsnprintf getenv putenv strcasecmp usleep gettimeofday)
     33case "${target_os}" in
     34  *mingw32*|*cygwin*)
     35    AC_CHECK_LIB(kernel32, Sleep,
     36                 [AC_DEFINE(HAVE_KERNEL32_SLEEP, 1, [Define if you have Windows' Sleep])])
     37    ;;
     38esac
    3339AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm")
    3440
Note: See TracChangeset for help on using the changeset viewer.