diff options
author | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-05-09 21:49:44 -0400 |
---|---|---|
committer | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-05-11 11:43:19 -0400 |
commit | 20c5250e487e032d392e2e4624021fccb1bfb72c (patch) | |
tree | ea0959971cabf3ce769f96cbeadd904171a38d92 /configure.ac | |
parent | 8dcc37520d5e8c8b52cee81faa67fd5205548377 (diff) |
Use system copy of cbrt() if available.
Also move the replacement inline into miarc.c, since that's the only user.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c8b40a19b..ffb1b85f7 100644 --- a/configure.ac +++ b/configure.ac @@ -182,6 +182,7 @@ AC_CHECK_FUNC([mmap], AC_DEFINE(HAS_MMAP, 1, [Have the `mmap' function.])) dnl Find the math libary AC_CHECK_LIB(m, sqrt) +AC_CHECK_LIB(m, cbrt, AC_DEFINE(HAVE_CBRT, 1, [Have the 'cbrt' function])) AC_CHECK_HEADERS([ndbm.h dbm.h rpcsvc/dbm.h]) |