1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
wanabe 2010-03-01 08:45:18 +00:00
parent deaba5567d
commit e2e46bebcf
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Mon Mar 1 17:42:45 2010 wanabe <s.wanabe@gmail.com>
* configure.in (mingw): do not detect snprintf/vsnprintf.
Sun Feb 28 21:32:36 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> Sun Feb 28 21:32:36 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/pty/pty.c (get_device_once): raise on error when fail is * ext/pty/pty.c (get_device_once): raise on error when fail is

View file

@ -878,6 +878,8 @@ main()
ac_cv_func_times=yes ac_cv_func_times=yes
ac_cv_func_waitpid=yes ac_cv_func_waitpid=yes
ac_cv_func_fsync=yes ac_cv_func_fsync=yes
ac_cv_func_snprintf=no
ac_cv_func_vsnprintf=no
ac_cv_func_seekdir=yes ac_cv_func_seekdir=yes
ac_cv_func_telldir=yes ac_cv_func_telldir=yes
ac_cv_func_isinf=yes ac_cv_func_isinf=yes
@ -1104,8 +1106,9 @@ main()
rb_cv_broken_glibc_ia64_erfc=no)]) rb_cv_broken_glibc_ia64_erfc=no)])
AS_CASE([$rb_cv_broken_glibc_ia64_erfc],[yes],[ac_cv_func_erf=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\ 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 \ isnan finite isinf hypot acosh erf tgamma lgamma_r cbrt \
strlcpy strlcat) strlcpy strlcat)
AC_CHECK_FUNCS(fmod killpg wait4 waitpid fork spawnv syscall chroot getcwd eaccess\ AC_CHECK_FUNCS(fmod killpg wait4 waitpid fork spawnv syscall chroot getcwd eaccess\