version 1.36.2.1, 2015/07/02 22:46:00
|
version 1.45.2.1, 2022/10/17 22:46:14
|
Line 2
|
Line 2
|
# $Author$ |
# $Author$ |
# $Id$ |
# $Id$ |
# |
# |
AC_INIT(libaitsched, 6.1, misho@elwix.org) | AC_INIT(libaitsched, 7.0, 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 27 LDFLAGS="${LDFLAGS}"
|
Line 27 LDFLAGS="${LDFLAGS}"
|
# Checks for libraries. |
# Checks for libraries. |
AC_CHECK_LIB([pthread], [pthread_create]) |
AC_CHECK_LIB([pthread], [pthread_create]) |
AC_CHECK_LIB([rt], [aio_read]) |
AC_CHECK_LIB([rt], [aio_read]) |
|
AC_CHECK_LIB([bsd], [strlcpy]) |
|
|
# Checks for header files. |
# Checks for header files. |
AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/time.h unistd.h]) |
AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/time.h unistd.h]) |
|
AC_CHECK_HEADERS([bsd/string.h]) |
|
|
# Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
AC_C_INLINE |
AC_C_INLINE |
Line 111 AC_ARG_WITH(kq_events,
|
Line 113 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) |
|
|
|
ELWIX=no |
|
AC_MSG_CHECKING(With libelwix Build) |
|
AC_ARG_WITH(elwix, |
|
[ --with-elwix Build library with libelwix memory managemant], |
|
[ ELWIX=$withval |
|
case "$withval" in |
|
yes) |
|
AC_DEFINE(__ELWIX,, [Build libraries with libelwix memory managemant]) |
|
CFLAGS="-g ${CFLAGS}" |
|
LIBS="${LIBS} -lelwix" |
|
;; |
|
*) |
|
;; |
|
esac ],) |
|
AC_MSG_RESULT($ELWIX) |
|
|
AC_CONFIG_FILES([Makefile |
AC_CONFIG_FILES([Makefile |
inc/Makefile |
inc/Makefile |