From a1c02ee495d945f943fedc3f11fcb323289dc756 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 14 Nov 2002 06:18:59 +0000 Subject: * math.c (math_acos): check errno after operation. ditto for asin, acosh, atanh, log, log10 and sqrt. * eval.c (rb_add_method): initialize should always be private. * parse.y (expr): add rescue modifier rule. * parse.y (command_call): return, break and next with argument is now part of this rule. * parse.y (yylex): "a" in "a /5" should be considered as a local variable. [experimental] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 1ed61aba9d..7397bf9837 100644 --- a/configure.in +++ b/configure.in @@ -464,36 +464,6 @@ fi AC_FUNC_GETPGRP AC_FUNC_SETPGRP -AC_CACHE_CHECK(for working strtod, rb_cv_func_strtod, -[AC_TRY_RUN([ -double strtod (); -int -main() -{ - { - /* Some versions of Linux strtod mis-parse strings with leading '+'. */ - char *string = " +69"; - char *term; - double value; - value = strtod(string, &term); - if (value != 69 || term != (string + 4)) - exit(1); - } - - { - /* Under Solaris 2.4, strtod returns the wrong value for the - terminating character under some conditions. */ - char *string = "NaN"; - char *term; - strtod(string, &term); - if (term != string && *(term - 1) == 0) - exit(1); - } - exit(0); -} -], rb_cv_func_strtod=yes, rb_cv_func_strtod=no, rb_cv_func_strtod=no)]) -test $rb_cv_func_strtod = no && AC_LIBOBJ([strtod]) - AC_C_BIGENDIAN AC_C_CONST AC_C_CHAR_UNSIGNED -- cgit v1.2.3