--- embedtools/configure 2013/01/18 13:18:14 1.4.2.1 +++ embedtools/configure 2013/05/22 11:57:33 1.4.2.3 @@ -628,6 +628,7 @@ LIBOBJS EGREP GREP CPP +MACHINE OS MKDEP target_os @@ -2228,6 +2229,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_config_headers="$ac_config_headers inc/config.h" +ac_cv_func_malloc_0_nonnull="yes" +ac_cv_func_realloc_0_nonnull="yes" + # Checks for programs. ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -3347,6 +3351,8 @@ fi OS=$(uname) + +MACHINE=${MACHINE:-i386} CFLAGS="-Wall -O2 -fPIC -g -DINET6 ${CFLAGS}"