--- configure.orig 2013-02-15 14:24:00 UTC +++ configure @@ -45,6 +45,7 @@ tcc_crtprefix="" tcc_elfinterp="" tcc_lddir= confvars= +define_va_list="" cpu=`uname -m` @@ -332,6 +333,9 @@ if test -z "$cross_prefix" ; then fi fi + if ! $cc -o $CONFTEST -c $source_path/va_list.c 2>/dev/null ; then + define_va_list="yes" + fi else # if cross compiling, cannot launch a program, so make a static guess case $cpu in @@ -483,6 +487,9 @@ if test "$have_selinux" = "yes" ; then echo "#define HAVE_SELINUX" >> $TMPH echo "HAVE_SELINUX=yes" >> config.mak fi +if test "$define_va_list" = "yes" ; then + echo "#define DEFINE_VA_LIST" >> $TMPH +fi version=`head $source_path/VERSION` echo "VERSION=$version" >>config.mak