Changeset: d0ea7b2614d5 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d0ea7b2614d5
Modified Files:
configure.ag
Branch: Mar2011
Log Message:
rdf: define HAVE_RAPTOR when found
It helps to enable the actual code paths supporting rdf usage next to
installing some helper files. Should fix bug #2792.
diffs (17 lines):
diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -2439,10 +2439,9 @@
have_raptor=no
if test "x$enable_rdf" != xno; then
req_raptor_ver='1.4.16'
- # if RDF is explicitly enabled, raptor library is required
- PKG_CHECK_MODULES([raptor], [raptor >= $req_raptor_ver],
- [have_raptor="yes"],
- [have_raptor="no"; if test "x$enable_rdf" = xyes; then
AC_MSG_ERROR([raptor library required for RDF support]); fi])
+ PKG_CHECK_MODULES([raptor], [raptor],
+ [AC_DEFINE(HAVE_RAPTOR, 1, [Define if you have raptor
installed]); have_raptor="yes"],
+ [if test "x$enable_rdf" = xyes; then AC_MSG_ERROR([raptor
library required for RDF support]); fi; have_raptor="no"])
fi
AM_CONDITIONAL(HAVE_RAPTOR, test x"$have_raptor" != xno)
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list