[Xfce4-commits] <xfce4-diskperf-plugin:master> Explicitely link with libm (#7982, #8514)

Landry Breuil noreply at xfce.org
Tue Apr 3 16:36:03 CEST 2012


Updating branch refs/heads/master
         to 24dc4ee5087a38af4ea4064f476db0600ab0d131 (commit)
       from d835b8eb49f7baa5f3093796301cbbfcaba00cc2 (commit)

commit 24dc4ee5087a38af4ea4064f476db0600ab0d131
Author: Landry Breuil <landry at xfce.org>
Date:   Tue Apr 3 14:41:03 2012 +0200

    Explicitely link with libm (#7982,#8514)

 configure.ac.in          |    2 ++
 panel-plugin/Makefile.am |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index b22f440..bae59a8 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -41,6 +41,8 @@ dnl **********************************
 dnl *** Check for standard headers ***
 dnl **********************************
 AC_HEADER_STDC()
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
 
 dnl ******************************
 dnl *** Check for i18n support ***
diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
index 6a30116..79b2796 100644
--- a/panel-plugin/Makefile.am
+++ b/panel-plugin/Makefile.am
@@ -24,6 +24,7 @@ xfce4_diskperf_plugin_CFLAGS =					\
 	$(LIBXFCE4UI_CFLAGS)
 
 xfce4_diskperf_plugin_LDADD=					\
+	$(LIBM)							\
 	$(LIBXFCE4PANEL_LIBS)					\
 	$(LIBXFCE4UI_LIBS)
 


More information about the Xfce4-commits mailing list