--- libelwix/configure.in 2013/03/07 23:04:48 1.3 +++ libelwix/configure.in 2014/02/11 01:07:09 1.23.2.1 @@ -1,11 +1,14 @@ # # $Author: misho $ -# $Id: configure.in,v 1.3 2013/03/07 23:04:48 misho Exp $ +# $Id: configure.in,v 1.23.2.1 2014/02/11 01:07:09 misho Exp $ # -AC_INIT(libelwix, 1.2, misho@elwix.org) +AC_INIT(libelwix, 3.3, 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])