[Xfce4-commits] [xfce/gtk-xfce-engine] 05/10: Link against libm for floor() and ceil()
noreply at xfce.org
noreply at xfce.org
Fri Feb 6 22:15:15 CET 2015
This is an automated email from the git hooks/post-receive script.
peter pushed a commit to branch peter/gtk2
in repository xfce/gtk-xfce-engine.
commit 5d8c972547d93ff8f1fb48a813a2c282bf4827db
Author: Lionel Le Folgoc <lionel at lefolgoc.net>
Date: Sun Apr 8 17:45:18 2012 +0200
Link against libm for floor() and ceil()
---
configure.in.in | 3 +++
src/Makefile.am | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/configure.in.in b/configure.in.in
index e73d192..158c166 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -57,6 +57,9 @@ dnl ***********************************
XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.20.0])
XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.24.0])
XDT_CHECK_PACKAGE([GMODULE], [gmodule-2.0], [2.24.0])
+dnl libm is needed for floor() and ceil()
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
GTK_BINARY_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
AC_SUBST([GTK_BINARY_VERSION])
diff --git a/src/Makefile.am b/src/Makefile.am
index d81392e..095afa9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -30,7 +30,8 @@ libxfce_la_CFLAGS = \
libxfce_la_LIBADD = \
$(GTK_LIBS) \
$(GLIB_LIBS) \
- $(GMODULE_LIBS)
+ $(GMODULE_LIBS) \
+ $(LIBM)
libxfce_la_LDFLAGS = \
-module \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list