diff options
author | Jamie Bullock <jamie@postlude.co.uk> | 2007-09-06 14:05:37 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@postlude.co.uk> | 2007-09-06 14:05:37 +0000 |
commit | 1f22cd5a7ddd3030c0c47f0528f5b2068f6b5283 (patch) | |
tree | ca4cb41e59e4c8b2a98df3a166e48d38df526d3a /configure.in | |
parent | 29e943f0788bff5a51005241574cb881fbf26ac7 (diff) | |
download | LibXtract-1f22cd5a7ddd3030c0c47f0528f5b2068f6b5283.tar.gz LibXtract-1f22cd5a7ddd3030c0c47f0528f5b2068f6b5283.tar.bz2 LibXtract-1f22cd5a7ddd3030c0c47f0528f5b2068f6b5283.zip |
Java bindings (with simple test) now working. Unified Python and Java bindings tests.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 61e94d5..c82c4de 100644 --- a/configure.in +++ b/configure.in @@ -85,6 +85,15 @@ AC_ARG_WITH(fftw3_dir, echo ]) +dnl set a specific java compiler +AC_ARG_WITH(javac, + [ --with-javac=compiler set a specific java compiler (determined automatically if not set) ], + [JAVAC="$withval" + echo + echo "JAVAC is set to $withval" + echo + ]) + dnl If --enable-swig, make with java bindings AC_ARG_WITH(java, [ --with-java If --enable-swig - make with java bindings (default=no) ], @@ -150,12 +159,14 @@ if [[ "$swig" = "true" ]] ; then fi if [[ "$with_java" = "true" ]] ; then - AC_PROG_JAVAC + if test "$JAVAC" = "" + then + AC_PROG_JAVAC + fi if test "$JAVAC" = "javac" then AC_JNI_INCLUDE_DIR - for JNI_INCLUDE_DIR in $JNI_INCLUDE_DIRS do CFLAGS="$CFLAGS -I$JNI_INCLUDE_DIR" |