summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2005-06-17 19:32:12 +0000
committerTom Tromey <tromey@redhat.com>2005-06-17 19:32:12 +0000
commit59ce7aee94a42c2eed46e14bb6d071dd67f31199 (patch)
treec1e4b68f6ba35e32f8a0804bae2a5916b504f74f /m4
parente7a61480c54b1c40ff62ced13e3a2f50a875183c (diff)
downloadclasspath-59ce7aee94a42c2eed46e14bb6d071dd67f31199.tar.gz
* lib/Makefile.am (JAVAC): Use JIKESENCODING.
* m4/acinclude.m4 (CLASSPATH_CHECK_JIKES): Check for -encoding option to jikes. (JIKESENCODING): New subst.
Diffstat (limited to 'm4')
-rw-r--r--m4/acinclude.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/m4/acinclude.m4 b/m4/acinclude.m4
index b8cef4f67..888adb076 100644
--- a/m4/acinclude.m4
+++ b/m4/acinclude.m4
@@ -157,6 +157,12 @@ AC_DEFUN([CLASSPATH_CHECK_JIKES],
else
AC_MSG_WARN($JIKES_VERSION: jikes 1.19 or higher required)
fi
+
+ JIKESENCODING=
+ if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
+ JIKESENCODING='-encoding UTF-8'
+ fi
+ AC_SUBST(JIKESENCODING)
fi
])