--- mqtt/configure.in 2013/01/18 09:43:27 1.3 +++ mqtt/configure.in 2017/10/08 22:49:24 1.4 @@ -1,11 +1,14 @@ # # $Author: misho $ -# $Id: configure.in,v 1.3 2013/01/18 09:43:27 misho Exp $ +# $Id: configure.in,v 1.4 2017/10/08 22:49:24 misho Exp $ # -AC_INIT(mqtt, 1.3, misho@elwix.org) +AC_INIT(mqtt, 2.0, misho@elwix.org) AC_CONFIG_HEADERS(inc/config.h) AC_CONFIG_SRCDIR(src/mqttd.c) +ac_cv_func_malloc_0_nonnull="yes" +ac_cv_func_realloc_0_nonnull="yes" + # Checks for programs. AC_PROG_CC AC_PROG_RANLIB @@ -26,8 +29,7 @@ AC_CHECK_LIB([util], openpty) AC_CHECK_LIB([crypto], BF_set_key) AC_CHECK_LIB([pthread], pthread_create) AC_CHECK_LIB([sqlite3], sqlite3_reset) -AC_CHECK_LIB([aitcrc], crcFletcher16) -AC_CHECK_LIB([aitio], io_allocVar) +AC_CHECK_LIB([elwix], ait_allocVar) AC_CHECK_LIB([aitcfg], cfgLoadConfig) AC_CHECK_LIB([aitmqtt], mqtt_msgAlloc) AC_CHECK_LIB([aitsched], schedRun)