Skip to content

Commit e206409

Browse files
committed
exclude log2 usage which requires C99 support
1 parent e400b7b commit e206409

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/standard/config.m4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,9 @@ fi
338338
dnl
339339
dnl Check for available functions
340340
dnl
341-
AC_CHECK_FUNCS(getcwd getwd asinh acosh atanh log1p log2 hypot glob strfmon nice fpclass isinf isnan mempcpy strpncpy)
341+
dnl log2 could be used to improve the log function, however it requires C99. The check for log2 should be turned on,
342+
dnl as soon as we support C99.
343+
AC_CHECK_FUNCS(getcwd getwd asinh acosh atanh log1p hypot glob strfmon nice fpclass isinf isnan mempcpy strpncpy)
342344
AC_FUNC_FNMATCH
343345

344346
dnl

0 commit comments

Comments
 (0)