|
version 1.4.2.1, 2012/02/10 23:39:22
|
version 1.7.2.1, 2013/01/17 13:10:49
|
|
Line 2
|
Line 2
|
| # $Author$ |
# $Author$ |
| # $Id$ |
# $Id$ |
| # |
# |
| AC_INIT(libaitsess, 3.1, misho@elwix.org) | AC_INIT(libaitsess, 4.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 21 LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
|
Line 21 LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
|
| |
|
| # Checks for libraries. |
# Checks for libraries. |
| AC_CHECK_LIB(pthread, [pthread_create]) |
AC_CHECK_LIB(pthread, [pthread_create]) |
| |
AC_CHECK_LIB(elwix, [array_Init]) |
| |
|
| # Checks for header files. |
# Checks for header files. |
| |
|
|
Line 33 AC_FUNC_MALLOC
|
Line 34 AC_FUNC_MALLOC
|
| AC_FUNC_MMAP |
AC_FUNC_MMAP |
| AC_CHECK_FUNCS([bzero memset munmap]) |
AC_CHECK_FUNCS([bzero memset munmap]) |
| AC_CHECK_FUNCS([pthread_create pthread_exit]) |
AC_CHECK_FUNCS([pthread_create pthread_exit]) |
| |
AC_CHECK_FUNCS([shm_open shm_unlink]) |
| |
|
| # It's stupid, but not all platforms have union semun, even those that need it. |
# 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_MSG_CHECKING(looking for union semun in sys/sem.h) |