List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:November 27 2007 10:49am
Subject:Rev 313: Changes to only bail out if we can't find Java if Java has been explicitly requested. Otherwise, we just don't build it like the other langua...
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel

------------------------------------------------------------
revno: 313
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: devel
timestamp: Tue 2007-11-27 02:49:07 -0800
message:
  Changes to only bail out if we can't find Java if Java has been explicitly requested.
Otherwise, we just don't build it like the other languages. 
modified:
  acinclude.m4                   acinclude.m4-20070228020914-u2pk759xg7thauwf-8
  configure.in                   configure.in-20070228020914-u2pk759xg7thauwf-13
=== modified file 'acinclude.m4'
--- a/acinclude.m4	2007-11-26 10:18:23 +0000
+++ b/acinclude.m4	2007-11-27 10:49:07 +0000
@@ -108,6 +108,14 @@
     AS_IF([test "x$ANT" = "x"],AC_MSG_ERROR([Couldn't find ant.]))
     AC_CHECK_JUNIT()
     AC_CHECK_JAVA_CXXFLAGS()
+    
+    AS_IF([test "x$JAVAC" = "xno"],[
+      AS_IF([test "w$with_java" = "xyes"],[
+        AC_MSG_ERROR([Unknown or unsupported JDK])
+      ],[
+        with_java=no
+      ])
+    ])
   ])
 ])
 
@@ -115,7 +123,7 @@
 
   AC_ARG_WITH([csharp], 
     [AS_HELP_STRING([--with-csharp],
-      [BULD NDB/.NET @<:@default=no@:>@])],
+      [BULD NDB/.NET @<:@default=yes@:>@])],
     [with_csharp=$withval], 
     [with_csharp=yes])
 

=== modified file 'configure.in'
--- a/configure.in	2007-11-27 09:58:46 +0000
+++ b/configure.in	2007-11-27 10:49:07 +0000
@@ -55,7 +55,6 @@
 
 
 WITH_JAVA()
-AS_IF([test "x$JAVAC" = "xno"],AC_MSG_ERROR([Unknown or unsupported JDK]))
 
 WITH_CSHARP()
 

Thread
Rev 313: Changes to only bail out if we can't find Java if Java has been explicitly requested. Otherwise, we just don't build it like the other langua...Monty Taylor27 Nov