summaryrefslogtreecommitdiff
path: root/gettext-tools/examples/hello-java
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-04-25 12:55:57 +0200
committerBruno Haible <bruno@clisp.org>2020-04-27 00:23:15 +0200
commitfa36bed7f2afbb2ac81d420f9f2e5a7b6358e50f (patch)
treeec837f14483e11835ecdd1177623f2b6a14eff8d /gettext-tools/examples/hello-java
parent9f0360e7d6945f3d48de2bb57002167526caff2b (diff)
downloadgettext-fa36bed7f2afbb2ac81d420f9f2e5a7b6358e50f.tar.gz
examples: Improve code style.
* gettext-tools/examples/hello-*/configure.ac: Improve quoting.
Diffstat (limited to 'gettext-tools/examples/hello-java')
-rw-r--r--gettext-tools/examples/hello-java/configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/gettext-tools/examples/hello-java/configure.ac b/gettext-tools/examples/hello-java/configure.ac
index e4512fd94..2206ce9ca 100644
--- a/gettext-tools/examples/hello-java/configure.ac
+++ b/gettext-tools/examples/hello-java/configure.ac
@@ -11,19 +11,19 @@ dnl Check whether we can execute Java programs.
gt_JAVAEXEC
dnl Check whether we can build Java programs.
gt_JAVACOMP([1.5])
-AC_CHECK_PROG(JAR, jar, jar)
+AC_CHECK_PROG([JAR], [jar], [jar])
if test -n "$HAVE_JAVACOMP" && test -n "$JAR"; then
BUILDJAVA=yes
else
BUILDJAVA=no
fi
-AC_SUBST(BUILDJAVA)
+AC_SUBST([BUILDJAVA])
if test -n "$HAVE_JAVAEXEC" && test "$BUILDJAVA" = yes; then
TESTJAVA=yes
else
TESTJAVA=no
fi
-AC_SUBST(TESTJAVA)
+AC_SUBST([TESTJAVA])
dnl Checks for compiler output filename suffixes.
AC_OBJEXT