[Libreoffice-commits] .: configure.in
Lionel Elie Mamane
lmamane at kemper.freedesktop.org
Thu Feb 2 13:50:21 PST 2012
configure.in | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
New commits:
commit 4cb33a7db765f8ad06e65d24a2396f2857a9cf0d
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Thu Feb 2 22:49:28 2012 +0100
make --with-system-libs behave as documented
make it enable --with-system-headers and --with-system-jars
also fixup lucene-analyzers.jar search path
diff --git a/configure.in b/configure.in
index 61d9bfa..6009518 100644
--- a/configure.in
+++ b/configure.in
@@ -998,15 +998,15 @@ AC_ARG_WITH(system-headers,
AS_HELP_STRING([--with-system-headers],
[Use headers already on system -- enables all --with-system-* flags for
external packages whose headers are the only entities used i.e.
- boost/vigra/odbc/sane-header(s).]),
-,)
+ boost/vigra/odbc/sane-header(s).]),,
+ [with_system_headers="$with_system_libs"])
AC_ARG_WITH(system-jars,
AS_HELP_STRING([--without-system-jars],
[When building with --with-system-libs, also the needed jars are expected
on the system. Use this to disable that (except for the db case where
- --with-system-db *has to* imply using the db.jar from there, too).]),
-,)
+ --with-system-db *has to* imply using the db.jar from there, too).]),,
+ [with_system_jars="$with_system_libs"])
AC_ARG_WITH(system-stdlibs,
AS_HELP_STRING([--with-system-stdlibs],
@@ -1107,8 +1107,8 @@ AC_ARG_WITH(system-libcmis,
AC_ARG_WITH(system-libcdr,
AS_HELP_STRING([--with-system-libcdr],
- [Use libvisio already on system.]),,
- [with_system_libcdr="no"])
+ [Use libcdr already on system.]),,
+ [with_system_libcdr="$with_system_libs"])
AC_ARG_WITH(system-libvisio,
AS_HELP_STRING([--with-system-libvisio],
@@ -5930,7 +5930,11 @@ if test "$with_system_lucene" = "yes"; then
[
AC_CHECK_FILE(/usr/share/java/lucene-contrib/lucene-analyzers.jar,
[ LUCENE_ANALYZERS_JAR=/usr/share/java/lucene-contrib/lucene-analyzers.jar ],
- [ AC_MSG_ERROR(lucene-analyzers.jar replacement not found.)]
+ [ AC_CHECK_FILE(/usr/share/java/lucene-analyzers.jar,
+ [ LUCENE_ANALYZERS_JAR=/usr/share/java/lucene-analyzers.jar ],
+ [ AC_MSG_ERROR(lucene-analyzers.jar replacement not found.)]
+ )
+ ]
)
]
)
More information about the Libreoffice-commits
mailing list