aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-02-07 21:35:31 +0000
committerJoão Valverde <j@v6e.pt>2016-02-07 23:22:11 +0000
commitd762a895ab570680e4e72142a348ad2b07c97d4f (patch)
tree896a9f000985ff01e896735930be9f5eb3350109 /configure.ac
parent847a713d12f9e39cd3f07b52ac8d77814e90c3db (diff)
GTK: Check if lrint() is usable, fix warnings [-Wbad-function-cast]
Change-Id: I4714ba6cfbd18847d99650f5c5cdc60dd2e7af26 Reviewed-on: https://code.wireshark.org/review/13808 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3b346a8786..65a6873ada 100644
--- a/configure.ac
+++ b/configure.ac
@@ -538,6 +538,8 @@ AC_SEARCH_LIBS(floorl, m,
],
FLOORL_LO="floorl.lo")
AC_SUBST(FLOORL_LO)
+AC_SEARCH_LIBS(lrint, m,
+ [AC_DEFINE(HAVE_LRINT, 1, [Define if you have the 'lrint' function.])])
#