From 1f22cd5a7ddd3030c0c47f0528f5b2068f6b5283 Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Thu, 6 Sep 2007 14:05:37 +0000 Subject: Java bindings (with simple test) now working. Unified Python and Java bindings tests. --- configure.in | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'configure.in') 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" -- cgit v1.2.3