Use system copy of cbrt() if available.

Also move the replacement inline into miarc.c, since that's the only user.
This commit is contained in:
Adam Jackson
2007-05-09 21:49:44 -04:00
parent 8dcc37520d
commit 20c5250e48
5 changed files with 15 additions and 55 deletions

View File

@@ -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])