--- libelwix/configure.in 2013/01/17 10:05:35 1.1 +++ libelwix/configure.in 2014/01/29 16:43:47 1.19.2.1 @@ -1,11 +1,14 @@ # # $Author: misho $ -# $Id: configure.in,v 1.1 2013/01/17 10:05:35 misho Exp $ +# $Id: configure.in,v 1.19.2.1 2014/01/29 16:43:47 misho Exp $ # -AC_INIT(libelwix, 1.0, misho@elwix.org) +AC_INIT(libelwix, 2.9, misho@elwix.org) AC_CONFIG_SRCDIR([src/elwix.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 @@ -17,8 +20,8 @@ AC_CANONICAL_TARGET AC_CHECK_TOOL(MKDEP, mkdep, no) AC_SUBST(MKDEP) -CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}" -LDFLAGS="-L/usr/local/lib ${LDFLAGS}" +CFLAGS="-Wall -O2 -fPIC ${CFLAGS}" +LDFLAGS="${LDFLAGS}" AC_CHECK_LIB([pthread], [pthread_mutex_init])