Commit c0e86849 authored by Claes Sjofors's avatar Claes Sjofors

pwre java module not built if jni not found

parent 50e8f84b
...@@ -622,9 +622,11 @@ sub build_all_modules () ...@@ -622,9 +622,11 @@ sub build_all_modules ()
_module("bcomp"); _module("bcomp");
build_all( $flavour); build_all( $flavour);
merge(); merge();
_module("java"); if ( $ENV{"PWRE_CONF_JNI"} eq "1") {
build_all( $flavour); _module("java");
merge(); build_all( $flavour);
merge();
}
_module("opc"); _module("opc");
build_all( $flavour); build_all( $flavour);
merge(); merge();
......
...@@ -448,12 +448,12 @@ else ...@@ -448,12 +448,12 @@ else
pwre_config_check_include antlr ANTLR 1 "/usr/include/antlr/CommonAST.hpp:/usr/local/include/antlr/CommonAST.hpp" pwre_config_check_include antlr ANTLR 1 "/usr/include/antlr/CommonAST.hpp:/usr/local/include/antlr/CommonAST.hpp"
pwre_config_check_include gtk GTK 1 "/usr/local/include/gtk-2.0/gtk.h:/usr/local/include/gtk-2.0/gtk/gtk.h:/usr/include/gtk-2.0/gtk/gtk.h" pwre_config_check_include gtk GTK 1 "/usr/local/include/gtk-2.0/gtk.h:/usr/local/include/gtk-2.0/gtk/gtk.h:/usr/include/gtk-2.0/gtk/gtk.h"
pwre_config_check_include jni JNI 1 "$jdk/include/jni.h"
pwre_config_check_include jni JNI 0 "$jdk/include/linux/jni_md.h"
pwre_config_check_include alsa ALSA 1 "/usr/include/alsa/asoundlib.h" pwre_config_check_include alsa ALSA 1 "/usr/include/alsa/asoundlib.h"
echo "" echo ""
echo "Optional :" echo "Optional :"
pwre_config_check_include jni JNI 1 "$jdk/include/jni.h"
pwre_config_check_include jni JNI 0 "$jdk/include/linux/jni_md.h"
pwre_config_check_lib motif MRM motif motif 0 "/usr/lib/libMrm.so" pwre_config_check_lib motif MRM motif motif 0 "/usr/lib/libMrm.so"
pwre_config_check_lib mysql MYSQL lib lib 1 "/usr/lib/libmysqlclient.so:/usr/lib/mysql/libmysqlclient.so:/usr/lib/$hwpl-linux-$gnu/libmysqlclient.so" pwre_config_check_lib mysql MYSQL lib lib 1 "/usr/lib/libmysqlclient.so:/usr/lib/mysql/libmysqlclient.so:/usr/lib/$hwpl-linux-$gnu/libmysqlclient.so"
pwre_config_check_include sqlite3 SQLITE3 1 "/usr/include/sqlite3.h" pwre_config_check_include sqlite3 SQLITE3 1 "/usr/include/sqlite3.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment