--- libaitwww/configure.in 2013/01/17 14:01:36 1.6 +++ libaitwww/configure.in 2013/05/30 09:25:35 1.7 @@ -1,11 +1,14 @@ # # $Author: misho $ -# $Id: configure.in,v 1.6 2013/01/17 14:01:36 misho Exp $ +# $Id: configure.in,v 1.7 2013/05/30 09:25:35 misho Exp $ # -AC_INIT(libaitwww, 2.1, 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,7 +24,7 @@ CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS} LDFLAGS="-L/usr/local/lib ${LDFLAGS}" -AC_CHECK_LIB(aitio, [mpool_malloc]) +AC_CHECK_LIB(elwix, [mpool_malloc]) # Checks for header files. AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/socket.h unistd.h aitio.h])