aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 23da438..b229366 100644
--- a/configure.ac
+++ b/configure.ac
@@ -208,6 +208,11 @@ AC_CHECK_FUNCS([memset setlocale strchr strrchr fstat sscanf], , [
AC_MSG_ERROR([Missing libc function])
])
+# Math library functions (may require -lm)
+AC_SEARCH_LIBS(pow, [m], , [
+ AC_MSG_ERROR([No library providing pow()!])
+])
+
# Library functions that we assume exist on UNIX/Linux
# and UNIXoid systems, so that G_OS_UNIX is sufficient
# to test for them.