version 1.32, 2014/01/28 13:17:33
|
version 1.34.2.2, 2014/05/19 22:13:54
|
Line 2
|
Line 2
|
# $Author$ |
# $Author$ |
# $Id$ |
# $Id$ |
# |
# |
AC_INIT(libaitsched, 4.7, misho@elwix.org) | AC_INIT(libaitsched, 5.2, misho@elwix.org) |
AC_CONFIG_SRCDIR([src/aitsched.c]) |
AC_CONFIG_SRCDIR([src/aitsched.c]) |
AC_CONFIG_HEADERS([inc/config.h]) |
AC_CONFIG_HEADERS([inc/config.h]) |
|
|
Line 37 AC_TYPE_SIZE_T
|
Line 37 AC_TYPE_SIZE_T
|
|
|
# Checks for library functions. |
# Checks for library functions. |
AC_FUNC_MALLOC |
AC_FUNC_MALLOC |
AC_CHECK_FUNCS([clock_gettime memset strerror timer_create timer_settime]) | AC_CHECK_FUNCS([clock_gettime memset strerror timer_create timer_settime timer_delete]) |
|
|
DEBUG=no |
DEBUG=no |
AC_MSG_CHECKING(Debug Build) |
AC_MSG_CHECKING(Debug Build) |
Line 90 AC_ARG_WITH(kq_events,
|
Line 90 AC_ARG_WITH(kq_events,
|
[ KQ_EVENTS=$withval ], KQ_EVENTS=32) |
[ KQ_EVENTS=$withval ], KQ_EVENTS=32) |
AC_DEFINE_UNQUOTED(KQ_EVENTS, $KQ_EVENTS, [ How many kqueue events can scheduling at one time ]) |
AC_DEFINE_UNQUOTED(KQ_EVENTS, $KQ_EVENTS, [ How many kqueue events can scheduling at one time ]) |
AC_MSG_RESULT($KQ_EVENTS) |
AC_MSG_RESULT($KQ_EVENTS) |
|
|
|
EPSUP=no |
|
AC_MSG_CHECKING(epoll support) |
|
AC_ARG_ENABLE(epoll, |
|
[ --enable-epoll Enable epoll support (only under Linux) ], |
|
[ EPSUP=$enableval |
|
case "$enableval" in |
|
no) |
|
AC_DEFINE(EP_ENABLE,, [Enable epoll support]) |
|
;; |
|
*) |
|
;; |
|
esac ],) |
|
AC_MSG_RESULT($EPSUP) |
|
|
AC_CONFIG_FILES([Makefile |
AC_CONFIG_FILES([Makefile |
inc/Makefile |
inc/Makefile |