summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac17
1 files changed, 15 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f2d7050..04f6dcc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,10 +43,23 @@ fi
# Check for RAPTOR
-PKG_CHECK_MODULES(RAPTOR, raptor >= 0.21)
+#PKG_CHECK_MODULES(RAPTOR, raptor >= 0.21)
# Check for RASQAL
-PKG_CHECK_MODULES(RASQAL, rasqal >= 0.9.11)
+#PKG_CHECK_MODULES(RASQAL, rasqal >= 0.9.11)
+
+# Check for Redland
+#PKG_CHECK_MODULES(REDLAND, redland >= 1.0.0)
+# No pkg-config?! Booo!
+AC_CHECK_PROG(REDLAND_CONFIG, redland-config, redland-config)
+if test "X$REDLAND_CONFIG" = X; then
+ AC_MSG_ERROR([SLV2 requires Redland (librdf), but redland-config not found.])
+else
+ REDLAND_CFLAGS=`$REDLAND_CONFIG --cflags`
+ REDLAND_LIBS=`$REDLAND_CONFIG --libs`
+ AC_SUBST(REDLAND_CFLAGS)
+ AC_SUBST(REDLAND_LIBS)
+fi
# Check for JACK
build_jack="yes"