From 240eaf6dadb6cafce795a4589699130c022b1469 Mon Sep 17 00:00:00 2001
From: Evgeni Golov <evgeni@debian.org>
Date: Sat, 3 Sep 2011 19:48:30 +0200
Subject: find and link libm

otherwise it will ftbfs with --as-needed because
libindicator/indicator-image-helper.c uses round() but does not link to libm
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 4a36dda..453ebd6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,6 +62,9 @@ AS_IF([test "x$with_gtk" = x3],
 )
 AM_CONDITIONAL(USE_GTK3, [test "x$with_gtk" = x3])
 
+LT_LIB_M
+LIBINDICATOR_LIBS+="$LIBM"
+
 ##############################
 # Custom Junk
 ##############################
-- 
cgit v1.2.3