[Xfce4-commits] <xfce4-wavelan-plugin:master> Explicitely link against libm (#7991, #8516)

Landry Breuil noreply at xfce.org
Tue Apr 3 18:22:01 CEST 2012


Updating branch refs/heads/master
         to ff954a1937ca63ccb967de7c947308214ba29fa8 (commit)
       from bdf9e795f0f11a7c06e1eebf508f317989ac39ca (commit)

commit ff954a1937ca63ccb967de7c947308214ba29fa8
Author: Landry Breuil <landry at xfce.org>
Date:   Tue Apr 3 18:19:33 2012 +0200

    Explicitely link against libm (#7991,#8516)

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

diff --git a/configure.ac.in b/configure.ac.in
index f001ea2..e3b7b85 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -37,6 +37,9 @@ AC_CHECK_HEADERS([math.h stdio.h stdlib.h string.h sys/types.h \
                   linux/wireless.h string.h \
                   ctype.h], [], [], [#include <sys/socket.h>])
 
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
 dnl Check for i18n support
 XDT_I18N([@LINGUAS@])
 
diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
index 5322658..8f21b5f 100644
--- a/panel-plugin/Makefile.am
+++ b/panel-plugin/Makefile.am
@@ -9,6 +9,7 @@ plugin_PROGRAMS = xfce4-wavelan-plugin
 #	libwavelan.la
 
 xfce4_wavelan_plugin_LDADD =							\
+				$(LIBM)						\
 				@LIBXFCE4PANEL_LIBS@				\
 				@LIBXFCEGUI4_LIBS@
 


More information about the Xfce4-commits mailing list