version 1.1.2.2, 2008/10/03 17:32:08
|
version 1.3.2.1, 2011/09/07 15:52:35
|
Line 2
|
Line 2
|
# $Author$ |
# $Author$ |
# $Id$ |
# $Id$ |
# |
# |
AC_INIT(libaitsess, 2.0, misho@openbsd-bg.org) | AC_INIT(libaitsess, 3.0, misho@elwix.org) |
AC_CONFIG_SRCDIR([src/aitsess.c]) |
AC_CONFIG_SRCDIR([src/aitsess.c]) |
AC_CONFIG_HEADERS([inc/config.h]) |
AC_CONFIG_HEADERS([inc/config.h]) |
|
|
Line 31 AC_C_INLINE
|
Line 31 AC_C_INLINE
|
AC_FUNC_MALLOC |
AC_FUNC_MALLOC |
AC_FUNC_MMAP |
AC_FUNC_MMAP |
AC_CHECK_FUNCS([bzero memset munmap]) |
AC_CHECK_FUNCS([bzero memset munmap]) |
|
|
|
# It's stupid, but not all platforms have union semun, even those that need it. |
|
AC_MSG_CHECKING(looking for union semun in sys/sem.h) |
|
AC_TRY_COMPILE([ |
|
#include <sys/types.h> |
|
#include <sys/ipc.h> |
|
#include <sys/sem.h> |
|
],[ |
|
union semun arg; |
|
semctl(0, 0, 0, arg); |
|
], [ |
|
AC_DEFINE(HAVE_UNION_SEMUN,, [union semun]) |
|
] msg=yes, msg=no ) |
|
AC_MSG_RESULT([$msg]) |
|
|
DEBUG=no |
DEBUG=no |
AC_MSG_CHECKING(Debug Build) |
AC_MSG_CHECKING(Debug Build) |