Merge commit 'bf2f748fc74fff5272075e1fe1c07b4152421526'
authorJames Almer <jamrial@gmail.com>
Tue, 4 Apr 2017 19:16:57 +0000 (16:16 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 4 Apr 2017 19:16:57 +0000 (16:16 -0300)
* commit 'bf2f748fc74fff5272075e1fe1c07b4152421526':
  configure: Use correct libm linker flag during math function checks

Merged-by: James Almer <jamrial@gmail.com>
configure

index a62e8b1..6dc0b7a 100755 (executable)
--- a/configure
+++ b/configure
@@ -5744,7 +5744,7 @@ ldexpf_args=2
 powf_args=2
 
 for func in $MATH_FUNCS; do
-    eval check_mathfunc $func \${${func}_args:-1}
+    eval check_mathfunc $func \${${func}_args:-1} $LIBM
 done
 
 for func in $COMPLEX_FUNCS; do