diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-28 13:34:39 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-28 13:34:39 +0000 |
commit | a8a99a7379fa8e07f217fc7b24e3a9208a967898 (patch) | |
tree | 7549f4cec3760871ccdd4d4f0f2f801d413b1258 /configure.in | |
parent | 1720e7e0dff72463bd0715200ca48b0af365e7c2 (diff) | |
download | ruby-a8a99a7379fa8e07f217fc7b24e3a9208a967898.tar.gz |
* configure.in (ac_cv_func_snprintf, ac_cv_func_vsnprintf):
use own vsnprintf to avoid locale problems and platform
difference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.in b/configure.in index d195f7521a..5047e9e054 100644 --- a/configure.in +++ b/configure.in @@ -888,8 +888,6 @@ 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 @@ -1116,7 +1114,6 @@ 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\ isnan finite isinf hypot acosh erf tgamma lgamma_r cbrt signbit \ @@ -1128,7 +1125,7 @@ AC_CHECK_FUNCS(fmod killpg wait4 waitpid fork spawnv syscall chroot getcwd eacce setrgid setegid setregid setresgid issetugid pause lchown lchmod\ getpgrp setpgrp getpgid setpgid initgroups getgroups setgroups\ getpriority getrlimit setrlimit sysconf \ - dlopen sigprocmask sigaction sigsetjmp _setjmp _longjmp snprintf\ + dlopen sigprocmask sigaction sigsetjmp _setjmp _longjmp\ setsid telldir seekdir fchmod cosh sinh tanh log2 round\ setuid setgid daemon select_large_fdset setenv unsetenv\ mktime timegm gmtime_r clock_gettime gettimeofday\ |