ruby-changes:14917
From: wanabe <ko1@a...>
Date: Mon, 1 Mar 2010 17:45:42 +0900 (JST)
Subject: [ruby-changes:14917] Ruby:r26787 (trunk): * configure.in (mingw): do not detect snprintf/vsnprintf.
wanabe 2010-03-01 17:45:18 +0900 (Mon, 01 Mar 2010) New Revision: 26787 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26787 Log: * configure.in (mingw): do not detect snprintf/vsnprintf. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 26786) +++ configure.in (revision 26787) @@ -878,6 +878,8 @@ 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 @@ 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\ Index: ChangeLog =================================================================== --- ChangeLog (revision 26786) +++ ChangeLog (revision 26787) @@ -1,3 +1,7 @@ +Mon Mar 1 17:42:45 2010 wanabe <s.wanabe@g...> + + * configure.in (mingw): do not detect snprintf/vsnprintf. + Sun Feb 28 21:32:36 2010 Nobuyoshi Nakada <nobu@r...> * ext/pty/pty.c (get_device_once): raise on error when fail is -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/