summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-11-14 19:52:11 +0000
committerDavid Robillard <d@drobilla.net>2007-11-14 19:52:11 +0000
commit3f9a822564fdae46b98709e15f8b2d265765cd7a (patch)
treef2f2c51afbb7312372bd9d721e4537fc9345110b
parent8f19433b7ff8d5a6702b833dfdb5aeb65f231cd6 (diff)
downloadlilv-3f9a822564fdae46b98709e15f8b2d265765cd7a.tar.gz
lilv-3f9a822564fdae46b98709e15f8b2d265765cd7a.tar.bz2
lilv-3f9a822564fdae46b98709e15f8b2d265765cd7a.zip
Check for Redland with pkg-config.
git-svn-id: http://svn.drobilla.net/lad/slv2@913 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--configure.ac17
1 files changed, 4 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index 7584363..37a968c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
AC_PREREQ(2.59)
-AC_INIT([slv2],0.3.0,[dave@drobilla.net])
+AC_INIT([slv2],0.3.1,[dave@drobilla.net])
AC_CONFIG_AUX_DIR([config])
@@ -25,8 +25,9 @@ AM_INIT_AUTOMAKE
# 0.1.0 = 2,0,0
# 0.2.0 = 3,0,0
# 0.3.0 = 4,0,0
+# current svn = 0.3.1 = 4,0,0
-SLV2_VERSION="0.3.0"
+SLV2_VERSION="0.3.1"
SLV2_API_CURRENT="4"
SLV2_API_REVISION="0"
SLV2_API_AGE="0"
@@ -91,17 +92,7 @@ fi
AM_CONDITIONAL(WITH_SWIG, [test "$bindings" = "yes"])
# 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
+PKG_CHECK_MODULES(REDLAND, redland >= 1.0.0)
# Check for JACK
build_jack="yes"