diff options
Diffstat (limited to 'libjava/classpath/m4/acinclude.m4')
-rw-r--r-- | libjava/classpath/m4/acinclude.m4 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libjava/classpath/m4/acinclude.m4 b/libjava/classpath/m4/acinclude.m4 index e41321f..96af881 100644 --- a/libjava/classpath/m4/acinclude.m4 +++ b/libjava/classpath/m4/acinclude.m4 @@ -135,9 +135,18 @@ AC_DEFUN([CLASSPATH_CHECK_JIKES], JIKESENCODING= if test -n "`$JIKES --help 2>&1 | grep encoding`"; then - JIKESENCODING='-encoding UTF-8' + JIKESENCODING='-encoding UTF-8' fi AC_SUBST(JIKESENCODING) + + JIKESWARNINGS="+Pno-switchcheck" + if test "x$JIKES_VERSION_MAJOR" = x"1" ; then + if ! test "x$JIKES_VERSION_MINOR" = x"19"; then + JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow" + fi + fi + AC_SUBST(JIKESWARNINGS) + fi ]) |