version 1.1, 2012/03/08 23:40:21
|
version 1.9, 2016/09/14 14:16:28
|
Line 2
|
Line 2
|
# $Author$ |
# $Author$ |
# $Id$ |
# $Id$ |
# |
# |
AC_INIT(libaitwww, 1.0, misho@elwix.org) | AC_INIT(libaitwww, 3.2, misho@elwix.org) |
AC_CONFIG_SRCDIR([src/aitwww.c]) |
AC_CONFIG_SRCDIR([src/aitwww.c]) |
AC_CONFIG_HEADERS([inc/config.h]) |
AC_CONFIG_HEADERS([inc/config.h]) |
|
|
|
ac_cv_func_malloc_0_nonnull="yes" |
|
ac_cv_func_realloc_0_nonnull="yes" |
|
|
# Checks for programs. |
# Checks for programs. |
AC_PROG_CC |
AC_PROG_CC |
AC_PROG_INSTALL |
AC_PROG_INSTALL |
Line 17 AC_CANONICAL_TARGET
|
Line 20 AC_CANONICAL_TARGET
|
AC_CHECK_TOOL(MKDEP, mkdep, no) |
AC_CHECK_TOOL(MKDEP, mkdep, no) |
AC_SUBST(MKDEP) |
AC_SUBST(MKDEP) |
|
|
CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}" | CFLAGS="-Wall -O2 -fPIC ${CFLAGS}" |
LDFLAGS="-L/usr/local/lib ${LDFLAGS}" | LDFLAGS="${LDFLAGS}" |
|
|
|
|
|
AC_CHECK_LIB(elwix, [mpool_malloc]) |
|
|
# Checks for header files. |
# Checks for header files. |
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/socket.h unistd.h]) | AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/socket.h unistd.h aitio.h]) |
|
|
# Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
AC_C_INLINE |
AC_C_INLINE |