configure.ac: add check for rint

parent e6792774
......@@ -1034,6 +1034,12 @@ AC_ARG_ENABLE([workshop],
AM_CONDITIONAL(ENABLE_WORKSHOP, test "x$enable_workshop" = "xyes")
# check for rint
AC_CHECK_FUNC(rint, AC_DEFINE(HAVE_RINT, 1,
[Define to 1 if you have the rint function.]), [
AC_CHECK_LIB(m, rint, [AC_DEFINE(HAVE_RINT)])])
#######################
# Enable extra warnings
#######################
......
Markdown is supported
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