cvs: php-src(PHP_4_3) /ext/standard config.m4
| From: | Ard Biesheuvel | Date: | Sun, 04 Apr 2004 10:24:10 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /ext/standard config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-26945@lists.php.net to get a copy of this message | ||
abies Sun Apr 4 06:24:10 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/standard config.m4
Log:
MFH: gcc-2.95/sparc test
http://cvs.php.net/diff.php/php-src/ext/standard/config.m4?r1=1.47.2.11&r2=1.47.2.12&ty=u
Index: php-src/ext/standard/config.m4
diff -u php-src/ext/standard/config.m4:1.47.2.11 php-src/ext/standard/config.m4:1.47.2.12
--- php-src/ext/standard/config.m4:1.47.2.11 Sat Apr 3 07:37:45 2004
+++ php-src/ext/standard/config.m4 Sun Apr 4 06:24:09 2004
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.47.2.11 2004/04/03 12:37:45 abies Exp $ -*- sh -*-
+dnl $Id: config.m4,v 1.47.2.12 2004/04/04 10:24:09 abies Exp $ -*- sh -*-
divert(3)dnl
@@ -352,7 +352,7 @@
int main(int argc, char** argv)
{
-#if (__GNUC__ == 2)&&(__GNUC_MINOR <= 95)&&(__GLIBC ==
2)&&(__GLIBC_MINOR <= 2)&&defined(__sparc64)
+#if defined(__sparc__) && !(__GNUC__ >= 3)
return 1;
#else
return zend_isinf(HUGE_VAL) && zend_isnan(HUGE_VAL + -HUGE_VAL) ? 0 : 1;