[libgnomekbd] build: link libgnomekbd against libm
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnomekbd] build: link libgnomekbd against libm
- Date: Tue, 30 Aug 2011 18:58:11 +0000 (UTC)
commit 57bc226e15bb5df2cb7cfa2d0972bec3677d84f0
Author: FrÃdÃric PÃters <fpeters 0d be>
Date: Tue Aug 30 17:56:03 2011 +0200
build: link libgnomekbd against libm
configure.in | 3 +++
libgnomekbd/Makefile.am | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 5e2e68a..e76fe24 100644
--- a/configure.in
+++ b/configure.in
@@ -53,6 +53,9 @@ IT_PROG_INTLTOOL([0.35.0])
AC_CHECK_FUNCS(setlocale)
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED)
AC_SUBST(GLIB_CFLAGS)
diff --git a/libgnomekbd/Makefile.am b/libgnomekbd/Makefile.am
index 79e01d2..9f8ae69 100644
--- a/libgnomekbd/Makefile.am
+++ b/libgnomekbd/Makefile.am
@@ -51,7 +51,8 @@ libgnomekbd_la_LIBADD = $(common_LIBADD)
libgnomekbdui_la_LDFLAGS = $(common_LDFLAGS)
libgnomekbdui_la_LIBADD = libgnomekbd.la \
$(common_LIBADD) \
- $(GTK_LIBS)
+ $(GTK_LIBS) \
+ $(LIBM)
libgnomekbd_la_SOURCES = \
gkbd-desktop-config.c \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]