Updating branch refs/heads/master
         to 0a2d889281440c78b60fb0e70ee1121e1baf148c (commit)
       from 2d01d1235b0e8425f251da55e4cb98fcc03f5cd5 (commit)

commit 0a2d889281440c78b60fb0e70ee1121e1baf148c
Author: Lionel Le Folgoc <lio...@lefolgoc.net>
Date:   Sat Dec 17 20:38:14 2011 +0100

    Link against libm for floor() and ceil()

 configure.in.in     |    3 +++
 gtk-3.0/Makefile.am |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/configure.in.in b/configure.in.in
index d917580..b6d2125 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -75,6 +75,9 @@ then
   GTK3_BINARY_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0`
   AC_SUBST([GTK3_BINARY_VERSION])
   GTK_SUBDIRS="$GTK_SUBDIRS gtk-3.0"
+  dnl libm is needed for floor() and ceil()
+  AC_CHECK_LIBM
+  AC_SUBST(LIBM)
 fi
 AC_SUBST([GTK_SUBDIRS])
 
diff --git a/gtk-3.0/Makefile.am b/gtk-3.0/Makefile.am
index 49091d9..e5ca000 100644
--- a/gtk-3.0/Makefile.am
+++ b/gtk-3.0/Makefile.am
@@ -29,7 +29,8 @@ libxfce_la_CFLAGS = \
 libxfce_la_LIBADD = \
        $(GTK3_LIBS) \
        $(GLIB_LIBS) \
-       $(GMODULE_LIBS)
+       $(GMODULE_LIBS) \
+       $(LIBM)
 
 libxfce_la_LDFLAGS = \
        -module \
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to