[gtkhtml] Bug 657764 - Explicitly link gtkhtml against libm



commit 0482dd5ff71be71126e0416b3ab70990e8e6d8fa
Author: Frederic Peters <fpeters 0d be>
Date:   Tue Aug 30 21:21:08 2011 -0400

    Bug 657764 - Explicitly link gtkhtml against libm
    
    We used to implicitly link to libm through gtk+, but that got dropped.
    
    http://mail.gnome.org/archives/desktop-devel-list/2011-August/msg00236.html

 configure.ac        |    3 +++
 gtkhtml/Makefile.am |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7114627..090b8e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,6 +140,9 @@ AC_SUBST(CFLAGS)
 AC_SUBST(CPPFLAGS)
 AC_SUBST(LDFLAGS)
 
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
 dnl **********************************
 dnl GAIL modules
 dnl **********************************
diff --git a/gtkhtml/Makefile.am b/gtkhtml/Makefile.am
index 3adb590..1dd9650 100644
--- a/gtkhtml/Makefile.am
+++ b/gtkhtml/Makefile.am
@@ -209,7 +209,8 @@ libgtkhtml_4_0_la_LIBADD =			\
 	$(GTKHTML_LIBS)				\
 	../a11y/libgtkhtml-a11y.la		\
 	$(GAIL_LIBS)				\
-	$(REGEX_LIBS)
+	$(REGEX_LIBS)				\
+	$(LIBM)
 
 dist-hook:
 	mkdir $(distdir)/tests



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