--- libelwix/configure.in 2013/03/07 16:24:32 1.2 +++ libelwix/configure.in 2014/01/29 14:17:44 1.18.2.1 @@ -1,11 +1,14 @@ # # $Author: misho $ -# $Id: configure.in,v 1.2 2013/03/07 16:24:32 misho Exp $ +# $Id: configure.in,v 1.18.2.1 2014/01/29 14:17:44 misho Exp $ # -AC_INIT(libelwix, 1.1, misho@elwix.org) +AC_INIT(libelwix, 2.8, 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])