diff options
author | sb <sb@openoffice.org> | 2010-05-20 11:37:31 +0200 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-05-20 11:37:31 +0200 |
commit | 60107536ed98be1eb4c042ab680f43072072118e (patch) | |
tree | b25644d6b02fd258f4804ea8ebe6e32fcd4dc25a /configure.in | |
parent | 9873688fef0e3c5b7b17eb3f6ac6d026b94cf56f (diff) | |
parent | ff94b38b00f90b4fbc8f49d132d46f27c537e143 (diff) |
sb122: merged in DEV300_m78
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/configure.in b/configure.in index e00fee7978aa..e53ccf0fd90b 100644 --- a/configure.in +++ b/configure.in @@ -550,6 +550,9 @@ AC_ARG_WITH(system-lpsolve, AC_ARG_WITH(system-cppunit, [ --with-system-cppunit Use cppunit already on system ],,) +AC_ARG_WITH(system-redland, +[ --with-system-redland Use redland library already on system +],,) AC_ARG_WITH(system-mozilla, [ --with-system-mozilla Use mozilla already on system. Note that some components cannot be built against a contemporary @@ -5017,16 +5020,12 @@ dnl =================================================================== dnl Check for system redland dnl =================================================================== AC_MSG_CHECKING([which redland library to use]) -dnl if test -n "$with_system_redland" -o -n "$with_system_libs" && \ -dnl test "$with_system_redland" != "no"; then -dnl mst: NOTE: right now we need patches against redland -dnl so we only enable system redland if explicitly requested -dnl if next version includes patches, insert version check here -if test -n "$with_system_redland" && \ +if test -n "$with_system_redland" -o -n "$with_system_libs" && \ test "$with_system_redland" != "no"; then AC_MSG_RESULT([external]) SYSTEM_REDLAND=YES - PKG_CHECK_MODULES(REDLAND, redland) + dnl versions before 1.0.8 write RDF/XML that is useless for ODF (@xml:base) + PKG_CHECK_MODULES(REDLAND, redland >= 1.0.8) else AC_MSG_RESULT([internal]) BUILD_TYPE="$BUILD_TYPE REDLAND" |