[PATCH] Deprecate --enable-java

Wol anthony at youngman.org.uk
Wed Oct 27 08:55:01 PDT 2010


---
 configure.in |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/configure.in b/configure.in
index 523104b..f4fc947 100755
--- a/configure.in
+++ b/configure.in
@@ -125,6 +125,7 @@ AC_ARG_ENABLE(tests,
   --enable-tests          Enables the execution of the tests.],
 ,)
 
+# DEPRECATED - DELETE AFTER 3.3 IS RELEASED - NOW AN AC_ARG_WITH
 # This is here only to make --help work nicely:
 # Shouldn't this be a --enabe-java or AC_ARG_WITH instead?
 AC_ARG_ENABLE(java,
@@ -288,6 +289,13 @@ AC_ARG_WITH(internal-gcc,
                           binutils 2.18).],
 ,)
 
+# this was wrongly ac_arg_enable
+AC_ARG_WITH(java,
+[
+  --with-java             Build LibO with a JDK & Java support.],
+			  enable_java = "yes" # deprecated - set old flag for the moment
+,)
+
 AC_ARG_WITH(lang,
 [
   --with-lang             Define the localizations to build. The English one is
-- 
1.7.2.2



--------------050007050704080100090102--


More information about the LibreOffice mailing list