[gnome-desktop] build: link against libm



commit 06eecd20a0c6e27f91265c20fe0ad2f773a51494
Author: FrÃdÃric PÃters <fpeters 0d be>
Date:   Tue Aug 30 17:47:00 2011 +0200

    build: link against libm

 configure.ac                 |    3 +++
 libgnome-desktop/Makefile.am |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0d324c1..b691686 100644
--- a/configure.ac
+++ b/configure.ac
@@ -123,6 +123,9 @@ AC_SUBST(GDK_PIXBUF_REQUIRED)
 AC_SUBST(XRANDR_REQUIRED)
 AC_SUBST(XEXT_REQUIRED)
 
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
 dnl we need x11 for GnomeBG
 
 PKG_CHECK_MODULES(XLIB, x11,
diff --git a/libgnome-desktop/Makefile.am b/libgnome-desktop/Makefile.am
index f30da5f..812421f 100644
--- a/libgnome-desktop/Makefile.am
+++ b/libgnome-desktop/Makefile.am
@@ -34,6 +34,7 @@ libgnome_desktop_3_la_SOURCES = 	\
 
 libgnome_desktop_3_la_LIBADD =	\
 	$(XLIB_LIBS)		\
+	$(LIBM)			\
 	$(GNOME_DESKTOP_LIBS)
 
 libgnome_desktop_3_la_LDFLAGS = \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]