[grilo-plugins/0.1.x] vimeo: Link against libgcrypt
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins/0.1.x] vimeo: Link against libgcrypt
- Date: Fri, 2 Sep 2011 16:12:35 +0000 (UTC)
commit 9c310ff15d5bf0f0f04202ed1669c172c66823e8
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Wed Aug 31 14:55:39 2011 +0000
vimeo: Link against libgcrypt
Also, use a proper macro to detect libgcrypt availability.
Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>
configure.ac | 4 ++--
src/media/vimeo/Makefile.am | 6 ++++--
2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8abf903..bf5bbff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -126,8 +126,6 @@ PKG_CHECK_MODULES(LIBSOUP, libsoup-2.4, HAVE_LIBSOUP=yes, HAVE_LIBSOUP=no)
PKG_CHECK_MODULES(LIBREST, rest-0.7, HAVE_REST=yes, HAVE_REST=no)
-AC_CHECK_HEADER([gcrypt.h], HAVE_GCRYPT=yes, HAVE_GCRYPT=no)
-
PKG_CHECK_MODULES(GTHREAD, gthread-2.0, HAVE_GTHREAD=yes, HAVE_GTHREAD=no)
PKG_CHECK_MODULES(GMIME, gmime-2.6,
@@ -146,6 +144,8 @@ PKG_CHECK_MODULES(GLIB_2_26, glib-2.0 >= 2.26.0,
HAVE_GLIB_2_26=yes,
HAVE_GLIB_2_26=no)
+AM_PATH_LIBGCRYPT(,HAVE_GCRYPT=yes, HAVE_GCRYPT=no)
+
# ----------------------------------------------------------
# GDATA VERSION
# ----------------------------------------------------------
diff --git a/src/media/vimeo/Makefile.am b/src/media/vimeo/Makefile.am
index b810218..17fc970 100644
--- a/src/media/vimeo/Makefile.am
+++ b/src/media/vimeo/Makefile.am
@@ -11,13 +11,15 @@ libgrlvimeo_la_CFLAGS = \
$(DEPS_CFLAGS) \
$(XML_CFLAGS) \
$(GTHREAD_CFLAGS) \
- $(LIBSOUP_CFLAGS)
+ $(LIBSOUP_CFLAGS) \
+ $(LIBGCRYPT_CFLAGS)
libgrlvimeo_la_LIBADD = \
$(DEPS_LIBS) \
$(XML_LIBS) \
$(GTHREAD_LIBS) \
- $(LIBSOUP_LIBS)
+ $(LIBSOUP_LIBS) \
+ $(LIBGCRYPT_LIBS)
libgrlvimeo_la_LDFLAGS = \
-module \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]