[gnome-main-menu] [build] Linking to libiw also requires linking to libm
- From: Vincent Untz <vuntz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-main-menu] [build] Linking to libiw also requires linking to libm
- Date: Sat, 16 Jan 2010 16:11:11 +0000 (UTC)
commit 2cede52c73d56a238075816d174d371134c06e34
Author: Vincent Untz <vuntz gnome org>
Date: Sat Jan 16 17:10:42 2010 +0100
[build] Linking to libiw also requires linking to libm
configure.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index 9528f30..63b9137 100644
--- a/configure.in
+++ b/configure.in
@@ -60,12 +60,12 @@ AC_SUBST(GLADE_LIBS)
PKG_CHECK_MODULES(MAIN_MENU, [ $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libgnome-2.0 libgnomeui-2.0 dbus-glib-1 NetworkManager libnm_glib >= 0.7.0 hal-storage cairo ])
-AC_CHECK_HEADERS(iwlib.h, [ AC_CHECK_LIB(iw, iw_sockets_open, have_iwlib=yes, have_iwlib=no)], have_iwlib=no)
+AC_CHECK_HEADERS(iwlib.h, [ AC_CHECK_LIB(iw, iw_sockets_open, have_iwlib=yes, have_iwlib=no, -lm)], have_iwlib=no)
if test "x$have_iwlib" != "xyes" ; then
AC_ERROR(cannot find iwlib)
else
- MAIN_MENU_LIBS="$MAIN_MENU_LIBS -liw"
+ MAIN_MENU_LIBS="$MAIN_MENU_LIBS -liw -lm"
AC_SUBST(MAIN_MENU_LIBS)
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]