Changeset 35307


Ignore:
Timestamp:
2021-08-18T11:08:20+12:00 (3 years ago)
Author:
davidb
Message:

Making javac default now source/target 1.6, rather than 1.4. This change was in response to 'javah' being deprecated. JNI is now down with 'javac -h' and to do that, you need to have at least a JDK 1.6 installed

Location:
main/trunk/greenstone3/src/packages/javagdbm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/packages/javagdbm/aclocal.m4

    r33928 r35307  
    226226AC_PROVIDE([$0])dnl
    227227if test "x$JAVACFLAGS" = x ; then
    228   JAVACFLAGS="-source 1.4 -target 1.4"
     228  JAVACFLAGS="-source 1.6 -target 1.6"
    229229fi
    230230AC_SUBST(JAVACFLAGS)
  • main/trunk/greenstone3/src/packages/javagdbm/configure

    r34522 r35307  
    11#! /bin/sh
    2 # From configure.in Revision: 26707 .
     2# From configure.in Revision: 33928 .
    33# Guess values for system-dependent variables and create Makefiles.
    44# Generated by GNU Autoconf 2.69.
     
    38903890$as_echo "$ac_cv_prog_javac_works" >&6; }
    38913891if test "x$JAVACFLAGS" = x ; then
    3892   JAVACFLAGS="-source 1.4 -target 1.4"
     3892  JAVACFLAGS="-source 1.6 -target 1.6"
    38933893fi
    38943894
     
    40324032  JNISUFFIX="jnilib"
    40334033  JNILDFLAGS="-dynamiclib -fno-common -single_module -framework JavaVM"
    4034   if test -d "$JAVA_HOME/include/darwin"; then
    4035       JNICFLAGS="-I$JAVA_HOME/include -I$JAVA_HOME/include/darwin"
    4036   fi
    40374034fi
    40384035if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then
Note: See TracChangeset for help on using the changeset viewer.