From: Kurt Zeilenga Date: Fri, 16 Jan 2009 22:05:05 +0000 (+0000) Subject: Trail fix for MSVC++ vsnprintf problem X-Git-Tag: ACLCHECK_0~1004 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=17441c7cbcfbcdcd4e500d225eca1c0e95096158;p=openldap Trail fix for MSVC++ vsnprintf problem --- 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