--- libaitwww/configure.in 2012/03/15 02:01:10 1.2.2.1 +++ libaitwww/configure.in 2013/05/30 09:25:35 1.7 @@ -1,11 +1,14 @@ # # $Author: misho $ -# $Id: configure.in,v 1.2.2.1 2012/03/15 02:01:10 misho Exp $ +# $Id: configure.in,v 1.7 2013/05/30 09:25:35 misho Exp $ # -AC_INIT(libaitwww, 1.2, misho@elwix.org) +AC_INIT(libaitwww, 3.0, misho@elwix.org) AC_CONFIG_SRCDIR([src/aitwww.c]) AC_CONFIG_HEADERS([inc/config.h]) +ac_cv_func_malloc_0_nonnull="yes" +ac_cv_func_realloc_0_nonnull="yes" + # Checks for programs. AC_PROG_CC AC_PROG_INSTALL @@ -21,8 +24,10 @@ CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS} LDFLAGS="-L/usr/local/lib ${LDFLAGS}" +AC_CHECK_LIB(elwix, [mpool_malloc]) + # 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. AC_C_INLINE