--- libelwix/configure.in 2013/03/07 16:25:25 1.2.2.1 +++ libelwix/configure.in 2014/02/10 22:50:44 1.21 @@ -1,11 +1,14 @@ # # $Author: misho $ -# $Id: configure.in,v 1.2.2.1 2013/03/07 16:25:25 misho Exp $ +# $Id: configure.in,v 1.21 2014/02/10 22:50:44 misho Exp $ # -AC_INIT(libelwix, 1.2, misho@elwix.org) +AC_INIT(libelwix, 3.0, 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])