--- libdsk-1.2.1/lib/Makefile.am.orig 2008-04-02 13:27:24.000000000 +1100 +++ libdsk-1.2.1/lib/Makefile.am 2008-04-02 13:28:55.000000000 +1100 @@ -2,6 +2,7 @@ INCLUDES=-I$(top_srcdir)/include JAVAC=@JAVAC@ +JAVACFLAGS=@JAVACFLAGS@ JAVAH=@JAVAH@ JAVA=@JAVA@ JAVADOC=@JAVADOC@ @@ -85,10 +86,10 @@ $(JAVADOC) -d $(top_srcdir)/doc/jni $(CLASSCPRE) $(CLASSDPRE)/%.class: $(srcdir)/$(CLASSDPRE)/%.java - here=`pwd` && cd $(srcdir) && $(JAVAC) -d $$here $< + here=`pwd` && cd $(srcdir) && $(JAVAC) $(JAVACFLAGS) -d $$here $< %.class: $(srcdir)/%.java - here=`pwd` && cd $(srcdir) && $(JAVAC) -d $$here $< + here=`pwd` && cd $(srcdir) && $(JAVAC) $(JAVACFLAGS) -d $$here $< $(HEADERPRE)_%.h: $(CLASSDPRE)/%.class --- libdsk-1.2.1.orig/tools/Makefile.am 2006-04-12 08:05:09.000000000 +1000 +++ libdsk-1.2.1/tools/Makefile.am 2008-04-02 14:06:06.000000000 +1100 @@ -32,5 +32,5 @@ CLEANFILES=*.class %.class: $(srcdir)/%.java - here=`pwd` && cd $(srcdir) && $(JAVAC) -classpath $(CLASSPATH):$$here/../lib/libdsk.jar -d $$here $< + here=`pwd` && cd $(srcdir) && $(JAVAC) $(JAVACFLAGS) -classpath $(CLASSPATH):$$here/../lib/libdsk.jar -d $$here $<