Commit 8e93ec54 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix the -lm configure test; fixes #4155

parent ddec0ec0
......@@ -780,8 +780,11 @@ dnl Keep that check as early as possible.
dnl as we need to know whether we need libm
dnl for math functions or not
dnl (see
[AC_DEFINE([HAVE_LIBM], [1], [Define to 1 if you need to link with libm])])
AC_CHECK_LIB(m, atan, HaveLibM=YES, HaveLibM=NO)
if test $HaveLibM = YES
AC_DEFINE([HAVE_LIBM], [1], [Define to 1 if you need to link with libm])
dnl ** check whether this machine has BFD and liberty installed (used for debugging)
dnl the order of these tests matters: bfd needs liberty
Supports Markdown
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