[gitg] Add/link m lib explicitly
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Add/link m lib explicitly
- Date: Sat, 28 Aug 2010 13:34:30 +0000 (UTC)
commit 4066cc335a403832559c45e39b32a69eae0363c4
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date: Sat Aug 28 15:34:21 2010 +0200
Add/link m lib explicitly
configure.ac | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 885b1d9..b0709b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,6 +45,8 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
AM_GLIB_GNU_GETTEXT
+AC_CHECK_LIB([m], [sinf])
+
PKG_CHECK_EXISTS([gtk+-3.0 >= 2.90],
[
GTK_REQUIRED=gtk+-3.0
@@ -120,6 +122,8 @@ fi
AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
+PACKAGE_LIBS="$PACKAGE_LIBS -lm"
+
AC_SUBST(PACKAGE_CFLAGS)
AC_SUBST(PACKAGE_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]