abies Sat Apr 3 11:38:11 2004 EDT Modified files: /php-src/ext/standard config.m4 Log: That should do it http://cvs.php.net/diff.php/php-src/ext/standard/config.m4?r1=1.72&r2=1.73&ty=u Index: php-src/ext/standard/config.m4 diff -u php-src/ext/standard/config.m4:1.72 php-src/ext/standard/config.m4:1.73 --- php-src/ext/standard/config.m4:1.72 Sat Apr 3 05:42:42 2004 +++ php-src/ext/standard/config.m4 Sat Apr 3 11:38:10 2004 @@ -1,4 +1,4 @@ -dnl $Id: config.m4,v 1.72 2004/04/03 10:42:42 abies Exp $ -*- sh -*- +dnl $Id: config.m4,v 1.73 2004/04/03 16:38:10 abies Exp $ -*- sh -*- divert(3)dnl @@ -413,16 +413,13 @@ #define zend_isnan(a) 0 #endif -double hv(int i) -{ - /* avoid inlining */ - if (i) return hv(i-1); - else return HUGE_VAL; -} - int main(int argc, char** argv) { - return zend_isinf(hv(3)) && zend_isnan(HUGE_VAL + -HUGE_VAL) ? 0 : 1; +#if defined(__sparc__) && !(__GNUC__ >= 3) + return 1; +#else + return zend_isinf(HUGE_VAL) && zend_isnan(HUGE_VAL + -HUGE_VAL) ? 0 : 1; +#endif } ],[ ac_cv_huge_val_nan=yes
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php