[f-spot] Add dependency check for flickrnet.



commit b9ddd25b83e7a7d9709a0541cefc9eb8d45fb8e1
Author: Ruben Vermeersch <ruben savanne be>
Date:   Sat May 29 11:09:31 2010 +0200

    Add dependency check for flickrnet.

 build/m4/f-spot/flickrnet.m4 |    8 ++++++++
 configure.ac                 |    1 +
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/build/m4/f-spot/flickrnet.m4 b/build/m4/f-spot/flickrnet.m4
new file mode 100644
index 0000000..c1ce557
--- /dev/null
+++ b/build/m4/f-spot/flickrnet.m4
@@ -0,0 +1,8 @@
+AC_DEFUN([FSPOT_CHECK_FLICKRNET],
+[
+	FLICKRNET_REQUIRED=2.0
+
+	PKG_CHECK_MODULES(FLICKRNET,
+		flickrnet >= $FLICKRNET_REQUIRED)
+	AC_SUBST(FLICKRNET_LIBS)
+])
diff --git a/configure.ac b/configure.ac
index 913e542..aaba655 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,6 +74,7 @@ SHAMROCK_CHECK_MONO_2_0_GAC_ASSEMBLIES([
 
 FSPOT_CHECK_GTK_SHARP
 FSPOT_CHECK_GNOME_KEYRING_SHARP
+FSPOT_CHECK_FLICKRNET
 
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]