[libgnomeui] Explicitly link against libm for floor()
- From: Michael Biebl <mbiebl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnomeui] Explicitly link against libm for floor()
- Date: Thu, 8 Sep 2011 16:03:23 +0000 (UTC)
commit 072a838e69c349fcf6180f26745e738bc94d4026
Author: Michael Biebl <biebl debian org>
Date: Mon Sep 5 03:39:14 2011 +0200
Explicitly link against libm for floor()
http://mail.gnome.org/archives/desktop-devel-list/2011-August/msg00237.html
configure.in | 4 ++++
libgnomeui/Makefile.am | 3 ++-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 3c4724e..2328cb4 100644
--- a/configure.in
+++ b/configure.in
@@ -77,6 +77,10 @@ AC_STDC_HEADERS
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
+dnl check for libm, for floor()
+LT_LIB_M
+AC_SUBST(LIBM)
+
dnl
dnl Check for -lX11 (for XUngrabServer in gnome-ui-init.c) and set
dnl X11_CFLAGS and X11_LIBS
diff --git a/libgnomeui/Makefile.am b/libgnomeui/Makefile.am
index 57db5e2..d5338fe 100644
--- a/libgnomeui/Makefile.am
+++ b/libgnomeui/Makefile.am
@@ -249,7 +249,8 @@ libgnomeui_2_la_LDFLAGS = \
libgnomeui_2_la_LIBADD = \
$(LIBGNOMEUI_LIBS) \
$(SM_LIBS) \
- $(X11_LIBS)
+ $(X11_LIBS) \
+ $(LIBM)
LDADD = \
libgnomeui-2.la $(LIBGNOMEUI_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]