abies Sat Apr 3 07:37:50 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/standard config.m4
Log:
2nd try for glibc2.2/sparc64
http://cvs.php.net/diff.php/php-src/ext/standard/config.m4?r1=1.47.2.10&r2=1.47.2.11&ty=u
Index: php-src/ext/standard/config.m4
diff -u php-src/ext/standard/config.m4:1.47.2.10
php-src/ext/standard/config.m4:1.47.2.11
--- php-src/ext/standard/config.m4:1.47.2.10 Sat Apr 3 04:46:20 2004
+++ php-src/ext/standard/config.m4 Sat Apr 3 07:37:45 2004
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.47.2.10 2004/04/03 09:46:20 abies Exp $ -*- sh -*-
+dnl $Id: config.m4,v 1.47.2.11 2004/04/03 12:37:45 abies Exp $ -*- sh -*-
divert(3)dnl
@@ -350,16 +350,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 (__GNUC__ == 2)&&(__GNUC_MINOR <= 95)&&(__GLIBC == 2)&&(__GLIBC_MINOR <=
2)&&defined(__sparc64)
+ 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