Commit d6af8239 authored by Anton Mitrofanov's avatar Anton Mitrofanov Committed by Henrik Gramner
Browse files

configure: Fix log2f misdetection on some systems

Bug report by Dirk Fieldhouse.
parent b763e338
......@@ -1067,7 +1067,7 @@ if [ "$thread" = "posix" ]; then
fi
[ "$thread" != "no" ] && define HAVE_THREAD
if cc_check 'math.h' '' 'log2f(2);' ; then
if cc_check 'math.h' '' 'volatile float x = 2; return log2f(x);' ; then
define HAVE_LOG2F
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment