pgpool2.git / summary / log / commit / refs

commit    667344cdf8f567d4fd75b07273008bfa9237b7b6
Author:   Yugo Nagata <nagata@sraoss.co.jp>
Date:     Tue Oct 20 07:32:22 2015 +0000

    Forgotten in the prev commit


configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 13fe7f2e4..4266f17ac 100644 --- a/configure.ac +++ b/configure.ac @@ -104,6 +104,8 @@ dnl This mazic variable is set to "yes" in PostgreSQL's configure.in dnl if PORTNAME is "win32". dnl pgpool-II does not suppport Windows at the moment, so we set to "no". pgac_need_repl_snprintf=no +AC_CHECK_FUNCS(snprintf, [], pgac_need_repl_snprintf=yes) +AC_CHECK_FUNCS(vsnprintf, [], pgac_need_repl_snprintf=yes) PGAC_TYPE_64BIT_INT([long int]) @@ -166,6 +168,7 @@ if test $pgac_need_repl_snprintf = yes; then AC_DEFINE(USE_REPL_SNPRINTF, 1, [Use replacement snprintf() functions.]) AC_LIBOBJ(snprintf) fi +AM_CONDITIONAL(use_repl_snprintf, test $pgac_need_repl_snprintf = yes) # Need a #define for the size of Datum (unsigned long) AC_CHECK_SIZEOF([unsigned long]) [parent: b487abf2f391]