[geocode-glib] build: Check for libm in configure
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] build: Check for libm in configure
- Date: Mon, 15 Apr 2013 12:38:47 +0000 (UTC)
commit 0e0e387356b340d2f539ad20696237fc94259b08
Author: Bastien Nocera <hadess hadess net>
Date: Mon Apr 15 14:33:50 2013 +0200
build: Check for libm in configure
https://bugzilla.gnome.org/show_bug.cgi?id=697638
configure.ac | 2 ++
geocode-glib/Makefile.am | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index 48c8bfb..dbfcb57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,6 +55,8 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
dnl gtk-doc checks
GTK_DOC_CHECK([1.13],[--flavour no-tmpl])
+AC_CHECK_LIB([m],[sin])
+
dnl Requires for the library
PKG_CHECK_MODULES(GEOCODE,
gio-2.0 >= 2.34
diff --git a/geocode-glib/Makefile.am b/geocode-glib/Makefile.am
index af9108a..f886178 100644
--- a/geocode-glib/Makefile.am
+++ b/geocode-glib/Makefile.am
@@ -18,7 +18,7 @@ libgeocode_glib_la_SOURCES = \
geocode-enum-types.c \
geocode-glib-private.h
-libgeocode_glib_la_LIBADD = $(GEOCODE_LIBS)
+libgeocode_glib_la_LIBADD = $(GEOCODE_LIBS) $(LIBS)
libgeocode_glib_la_LDFLAGS = \
-version-info $(GCLIB_LT_VERSION) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]