diff options
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index deedd5c..2d480ee 100644 --- a/configure.ac +++ b/configure.ac @@ -112,6 +112,9 @@ esac AC_SUBST(CPPFLAGS_PYTHON) AC_SUBST(LDFLAGS_PYTHON) +# Link against libm, this is required (among other things) by Python. +AC_SEARCH_LIBS([pow], [m]) + # The Check unit testing framework is optional. Disable if not found. PKG_CHECK_MODULES([check], [check >= 0.9.4], [have_check="yes"; CFLAGS="$CFLAGS $check_CFLAGS"; |