Revert "* configure.in (ac_cv_func_snprintf, ac_cv_func_vsnprintf):"
This reverts commit r27078. It causes build failure on some environments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
46a4000a68
commit
6c4a07dfa7
@ -8,12 +8,6 @@ Mon Mar 29 06:47:25 2010 Aaron Patterson <aaron@tenderlovemaking.com>
|
|||||||
* test/psych/*: ditto
|
* test/psych/*: ditto
|
||||||
* lib/psych/*: ditto
|
* lib/psych/*: ditto
|
||||||
|
|
||||||
Sun Mar 28 21:04:21 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
|
||||||
|
|
||||||
* configure.in (ac_cv_func_snprintf, ac_cv_func_vsnprintf):
|
|
||||||
use own vsnprintf to avoid locale problems and platform
|
|
||||||
difference.
|
|
||||||
|
|
||||||
Sun Mar 28 10:03:51 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
Sun Mar 28 10:03:51 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* lib/scanf.rb: fix max width modifier for %f.
|
* lib/scanf.rb: fix max width modifier for %f.
|
||||||
|
@ -888,6 +888,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
|
||||||
@ -1114,6 +1116,7 @@ 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\
|
strchr strstr crypt flock\
|
||||||
isnan finite isinf hypot acosh erf tgamma lgamma_r cbrt signbit \
|
isnan finite isinf hypot acosh erf tgamma lgamma_r cbrt signbit \
|
||||||
@ -1125,7 +1128,7 @@ AC_CHECK_FUNCS(fmod killpg wait4 waitpid fork spawnv syscall chroot getcwd eacce
|
|||||||
setrgid setegid setregid setresgid issetugid pause lchown lchmod\
|
setrgid setegid setregid setresgid issetugid pause lchown lchmod\
|
||||||
getpgrp setpgrp getpgid setpgid initgroups getgroups setgroups\
|
getpgrp setpgrp getpgid setpgid initgroups getgroups setgroups\
|
||||||
getpriority getrlimit setrlimit sysconf \
|
getpriority getrlimit setrlimit sysconf \
|
||||||
dlopen sigprocmask sigaction sigsetjmp _setjmp _longjmp\
|
dlopen sigprocmask sigaction sigsetjmp _setjmp _longjmp snprintf\
|
||||||
setsid telldir seekdir fchmod cosh sinh tanh log2 round\
|
setsid telldir seekdir fchmod cosh sinh tanh log2 round\
|
||||||
setuid setgid daemon select_large_fdset setenv unsetenv\
|
setuid setgid daemon select_large_fdset setenv unsetenv\
|
||||||
mktime timegm gmtime_r clock_gettime gettimeofday\
|
mktime timegm gmtime_r clock_gettime gettimeofday\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user