diff options
author | Bruno Haible <bruno@clisp.org> | 2006-05-02 12:25:10 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:13:12 +0200 |
commit | 1cc4cdbd5d5cadd22f753e6954ec81c7ba1a8ee5 (patch) | |
tree | 2e8a7d4408b667c96052a9da2227772e10c4f94e /gettext-tools/examples/hello-java-awt | |
parent | dda65ac464738a6750229a656fe3c9a2b5bfb0f7 (diff) | |
download | gettext-1cc4cdbd5d5cadd22f753e6954ec81c7ba1a8ee5.tar.gz |
Change the gt_JAVACOMP macro to choose a Java compiler suitable for
specific source and target versions.
Diffstat (limited to 'gettext-tools/examples/hello-java-awt')
-rw-r--r-- | gettext-tools/examples/hello-java-awt/configure.ac | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gettext-tools/examples/hello-java-awt/configure.ac b/gettext-tools/examples/hello-java-awt/configure.ac index e606b58b6..618f5b184 100644 --- a/gettext-tools/examples/hello-java-awt/configure.ac +++ b/gettext-tools/examples/hello-java-awt/configure.ac @@ -1,5 +1,5 @@ dnl Example for use of GNU gettext. -dnl Copyright (C) 2003 Free Software Foundation, Inc. +dnl Copyright (C) 2003, 2006 Free Software Foundation, Inc. dnl This file is in the public domain. dnl dnl Configuration file - processed by autoconf. @@ -22,8 +22,10 @@ AC_SUBST(BUILDJAVAEXE) AM_CONDITIONAL([USEJEXE], [test $BUILDJAVAEXE = yes]) AC_PROG_RANLIB -dnl Check whether we can build Java programs at all. -gt_JAVACOMP +dnl Check whether we can execute Java programs. +gt_JAVAEXEC([TestAWT], [$srcdir/m4]) +dnl Check whether we can build Java programs. +gt_JAVACOMP([1.3]) AC_CHECK_PROG(JAR, jar, jar) if test -n "$HAVE_JAVACOMP" && test -n "$JAR"; then BUILDJAVA=yes @@ -31,9 +33,6 @@ else BUILDJAVA=no fi AC_SUBST(BUILDJAVA) - -dnl Check whether we can execute Java programs. -gt_JAVAEXEC([TestAWT], [$srcdir/m4]) if test -n "$HAVE_JAVAEXEC" && test $BUILDJAVA = yes; then TESTJAVA=yes else |