com php-src: exclude log2 usage which requires C99 support: ext/standard/config.m4
| From: | Anatol Belski | Date: | Fri, 29 Aug 2014 08:55:55 +0000 |
| Subject: | com php-src: exclude log2 usage which requires C99 support: ext/standard/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81292@lists.php.net to get a copy of this message | ||
Commit: e206409a8c383b10b250b39f0461e3ad29398014
Author: Anatol Belski <ab@php.net> Fri, 29 Aug 2014 10:54:28 +0200
Parents: e400b7b99f801e18cdd7f904698661e6215e084c
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e206409a8c383b10b250b39f0461e3ad29398014
Log:
exclude log2 usage which requires C99 support
Changed paths:
M ext/standard/config.m4
Diff:
diff --git a/ext/standard/config.m4 b/ext/standard/config.m4
index 6795216..7a5f0ef 100644
--- a/ext/standard/config.m4
+++ b/ext/standard/config.m4
@@ -338,7 +338,9 @@ fi
dnl
dnl Check for available functions
dnl
-AC_CHECK_FUNCS(getcwd getwd asinh acosh atanh log1p log2 hypot glob strfmon nice fpclass isinf
isnan mempcpy strpncpy)
+dnl log2 could be used to improve the log function, however it requires C99. The check for log2
should be turned on,
+dnl as soon as we support C99.
+AC_CHECK_FUNCS(getcwd getwd asinh acosh atanh log1p hypot glob strfmon nice fpclass isinf isnan
mempcpy strpncpy)
AC_FUNC_FNMATCH
dnl