summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-11-30 06:55:02 +0000
committerDavid Robillard <d@drobilla.net>2007-11-30 06:55:02 +0000
commit488a99ff2cf946aa416f8bc86f0b1b9c02ed9658 (patch)
treea691428c714a7f45a2154499cb3a34b030420f06
parent4ea3b91218fb9e08ef32446fdde838dab142d9d6 (diff)
downloadlilv-488a99ff2cf946aa416f8bc86f0b1b9c02ed9658.tar.gz
lilv-488a99ff2cf946aa416f8bc86f0b1b9c02ed9658.tar.bz2
lilv-488a99ff2cf946aa416f8bc86f0b1b9c02ed9658.zip
Revert redland check to ancient crapppy non-pkg-config way.
git-svn-id: http://svn.drobilla.net/lad/slv2@926 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--configure.ac13
1 files changed, 12 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c517aae..e666aba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,7 +92,18 @@ fi
AM_CONDITIONAL(WITH_SWIG, [test "$bindings" = "yes"])
# Check for Redland
-PKG_CHECK_MODULES(REDLAND, redland >= 1.0.0)
+build_redland="no"
+AC_CHECK_PROG(REDLAND_CONFIG, redland-config, redland-config)
+if test "X$REDLAND_CONFIG" = X; then
+ AC_MSG_ERROR([REDLANDMM requires Redland (librdf), but redland-config not found.])
+else
+ build_redland="yes"
+ REDLAND_CFLAGS=`$REDLAND_CONFIG --cflags`
+ REDLAND_LIBS=`$REDLAND_CONFIG --libs`
+ AC_SUBST(REDLAND_CFLAGS)
+ AC_SUBST(REDLAND_LIBS)
+fi
+AM_CONDITIONAL(WITH_REDLAND, [test "$build_redland" = "yes"])
# Check for JACK
build_jack="yes"