[gegl] configure.ac: add check for rint
- From: Ãyvind KolÃs <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] configure.ac: add check for rint
- Date: Sat, 24 Mar 2012 00:32:43 +0000 (UTC)
commit 2e257bf978244933a37f674e4bb4f820b7900bc4
Author: Ãyvind KolÃs <pippin gimp org>
Date: Sat Mar 24 00:21:43 2012 +0000
configure.ac: add check for rint
configure.ac | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9577903..596483c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
#######################
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]