From e2e46bebcfbf28566d1b70e5b17a435f1b025bed Mon Sep 17 00:00:00 2001 From: wanabe Date: Mon, 1 Mar 2010 08:45:18 +0000 Subject: * configure.in (mingw): do not detect snprintf/vsnprintf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 6d247fdb96..f8a7168e50 100644 --- a/configure.in +++ b/configure.in @@ -878,6 +878,8 @@ main() ac_cv_func_times=yes ac_cv_func_waitpid=yes ac_cv_func_fsync=yes + ac_cv_func_snprintf=no + ac_cv_func_vsnprintf=no ac_cv_func_seekdir=yes ac_cv_func_telldir=yes ac_cv_func_isinf=yes @@ -1104,8 +1106,9 @@ main() rb_cv_broken_glibc_ia64_erfc=no)]) AS_CASE([$rb_cv_broken_glibc_ia64_erfc],[yes],[ac_cv_func_erf=no]) +AS_CASE(["$target_os"],[mingw*],[],[AC_REPLACE_FUNCS(vsnprintf)]) AC_REPLACE_FUNCS(dup2 memmove strerror\ - strchr strstr crypt flock vsnprintf\ + strchr strstr crypt flock\ isnan finite isinf hypot acosh erf tgamma lgamma_r cbrt \ strlcpy strlcat) AC_CHECK_FUNCS(fmod killpg wait4 waitpid fork spawnv syscall chroot getcwd eaccess\ -- cgit v1.2.3