From 17441c7cbcfbcdcd4e500d225eca1c0e95096158 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 16 Jan 2009 22:05:05 +0000 Subject: [PATCH] Trail fix for MSVC++ vsnprintf problem --- configure.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index ce23a79244..d8a7e8ed48 100644 --- a/configure.in +++ b/configure.in @@ -2402,9 +2402,12 @@ AC_CHECK_FUNC(_snprintf, [ac_cv_func_snprintf=yes AC_DEFINE(snprintf, _snprintf, [define to snprintf routine]) ]) -AC_CHECK_FUNC(_vsnprintf, [ac_cv_func_vsnprintf=yes +AC_CHECK_FUNCS(vsnprintf _vsnprintf) + +if test $ac_cv_func_vsnprintf = no -a $ac_cv_func__vsnprintf = yes ; then + ac_cv_func_vsnprintf=yes AC_DEFINE(vsnprintf, _vsnprintf, [define to vsnprintf routine]) -]) +fi AC_FUNC_VPRINTF -- 2.39.5