shithub: aubio

Download patch

ref: f82aa0915b4c2dae4e3d26f75c17a442f28c6eb2
parent: aac02a10a987365088f30bc01d77cf56500a81fc
author: Paul Brossier <piem@piem.org>
date: Thu Nov 5 12:45:50 EST 2009

wscript: remove java stuff

--- a/wscript
+++ b/wscript
@@ -23,8 +23,6 @@
       help='compile without jack support')
   opt.add_option('--disable-lash', action='store_true', default=False,
       help='compile without lash support')
-  opt.add_option('--enable-java', action='store_true', default=False,
-      help='compile with java support')
   opt.add_option('--with-target-platform', type='string',
       help='set target platform for cross-compilation', dest='target_platform')
   opt.tool_options('compiler_cc')
@@ -100,11 +98,6 @@
       conf.check_python_version((2,4,2))
       conf.check_python_headers()
 
-    # java
-    if (Options.options.enable_java == True):
-      conf.fatal('Java build not yet implemented')
-      conf.check_tool('java')
-
   # check support for C99 __VA_ARGS__ macros
   check_c99_varargs = '''
 #include <stdio.h>
@@ -134,8 +127,6 @@
   if bld.env['SWIG']:
     if bld.env['PYTHON']:
       bld.add_subdirs('python/aubio python')
-    if bld.env['JAVA']:
-      pass
 
   # create the aubio.pc file for pkg-config
   aubiopc = bld.new_task_gen('subst')