]> sigrok.org Git - libsigrok.git/commitdiff
configure.ac: Temporarily disable Java bindings.
authorUwe Hermann <redacted>
Thu, 13 Nov 2014 17:40:44 +0000 (18:40 +0100)
committerUwe Hermann <redacted>
Thu, 13 Nov 2014 17:51:33 +0000 (18:51 +0100)
Those need a bugfix to make them build again:

  bindings/java/org/sigrok/core/classes/Context.java:92: error: method Context_create_analog_packet in class classesJNI cannot be applied to given types;
        long cPtr = classesJNI.Context_create_analog_packet(swigCPtr, this, ChannelVector.getCPtr(tempchannels), SWIGTYPE_p_float.getCPtr(data_pointer), num_samples, Quantity.getCPtr(mq), mq, Unit.getCPtr(unit), unit, QuantityFlagVector.getCPtr(mqflags), mqflags);
                              ^
    required: long,Context,Vector<Channel>,long,long,long,Quantity,long,Unit,long,QuantityFlagVector
    found: long,Context,long,long,long,long,Quantity,long,Unit,long,QuantityFlagVector
    reason: actual argument long cannot be converted to Vector<Channel> by method invocation conversion
  1 error
  Makefile:3352: recipe for target 'bindings/java/sigrok-core.jar' failed

configure.ac

index d28306149760eabaddcd394f393d3cd2bab5056b..2879b2794ce808cc8f81dbccd30168fea86b769f 100644 (file)
@@ -513,6 +513,9 @@ AM_CONDITIONAL(BINDINGS_CXX, test x$BINDINGS_CXX = xyes)
 
 AM_CONDITIONAL(BINDINGS_PYTHON, test x$BINDINGS_PYTHON = xyes)
 
+# Temporarily disable Java bindings, they need a bugfix.
+BINDINGS_JAVA="no"; java_msg="temporarily disabled, needs a bugfix"
+
 AM_CONDITIONAL(BINDINGS_JAVA, test x$BINDINGS_JAVA = xyes)
 
 # Checks for header files.