]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
examples: Quote shell variables in hello-java*/configure
authorDaiki Ueno <ueno@gnu.org>
Mon, 21 Apr 2014 07:10:54 +0000 (16:10 +0900)
committerDaiki Ueno <ueno@gnu.org>
Mon, 21 Apr 2014 07:10:54 +0000 (16:10 +0900)
When running from xsmallpot.sh, embedded shell-script snippets are
stripped off from configure.ac and some variables are not set.
Make sure to quote them to avoid error.
* hello-java/configure.ac: Quote $BUILDJAVA.
* hello-java-awt/configure.ac: Quote $BUILDJAVAEXE and $BUILDJAVA.
* hello-java-qtjambi/configure.ac: Likewise.
* hello-java-swing/configure.ac: Likewise.

gettext-tools/examples/ChangeLog
gettext-tools/examples/hello-java-awt/configure.ac
gettext-tools/examples/hello-java-qtjambi/configure.ac
gettext-tools/examples/hello-java-swing/configure.ac
gettext-tools/examples/hello-java/configure.ac

index dbef7333509d78af05bf6e3fc4fc9c63ac71a63f..60314e246a85e22c19222b621d9c35bc75e10286 100644 (file)
@@ -1,3 +1,14 @@
+2014-04-21  Daiki Ueno  <ueno@gnu.org>
+
+       examples: Quote shell variables in hello-java*/configure
+       When running from xsmallpot.sh, embedded shell-script snippets are
+       stripped off from configure.ac and some variables are not set.
+       Make sure to quote them to avoid error.
+       * hello-java/configure.ac: Quote $BUILDJAVA.
+       * hello-java-awt/configure.ac: Quote $BUILDJAVAEXE and $BUILDJAVA.
+       * hello-java-qtjambi/configure.ac: Likewise.
+       * hello-java-swing/configure.ac: Likewise.
+
 2014-04-15  Daiki Ueno  <ueno@gnu.org>
 
        examples: Add a new example 'hello-c-gnome3'
index da5b758d2131f0400de4d78580afd32e6518e159..3eae8bed2d6c8e1c139ffd7590f81b1543c5c425 100644 (file)
@@ -18,7 +18,7 @@ else
   BUILDJAVAEXE=no
 fi
 AC_SUBST(BUILDJAVAEXE)
-AM_CONDITIONAL([USEJEXE], [test $BUILDJAVAEXE = yes])
+AM_CONDITIONAL([USEJEXE], [test "$BUILDJAVAEXE" = yes])
 AC_PROG_RANLIB
 
 dnl Check whether we can execute Java programs.
@@ -32,7 +32,7 @@ else
   BUILDJAVA=no
 fi
 AC_SUBST(BUILDJAVA)
-if test -n "$HAVE_JAVAEXEC" && test $BUILDJAVA = yes; then
+if test -n "$HAVE_JAVAEXEC" && test "$BUILDJAVA" = yes; then
   TESTJAVA=yes
 else
   TESTJAVA=no
index f62d652baba8ca7a65b7066107c3242eee540002..3b3e6884a95967c948a7b19f9f3a7a01ad66cb07 100644 (file)
@@ -20,7 +20,7 @@ dnl   BUILDJAVAEXE=no
 dnl fi
 BUILDJAVAEXE=no
 AC_SUBST(BUILDJAVAEXE)
-AM_CONDITIONAL([USEJEXE], [test $BUILDJAVAEXE = yes])
+AM_CONDITIONAL([USEJEXE], [test "$BUILDJAVAEXE" = yes])
 AC_PROG_RANLIB
 
 dnl Check whether we can execute Java programs.
@@ -34,7 +34,7 @@ else
   BUILDJAVA=no
 fi
 AC_SUBST(BUILDJAVA)
-if test -n "$HAVE_JAVAEXEC" && test $BUILDJAVA = yes; then
+if test -n "$HAVE_JAVAEXEC" && test "$BUILDJAVA" = yes; then
   TESTJAVA=yes
 else
   TESTJAVA=no
index 838224ce6090ac10ea6543aee9b3801c927a6b87..96fd903ef5da72e7d083a8202f7de070b51c763b 100644 (file)
@@ -18,7 +18,7 @@ else
   BUILDJAVAEXE=no
 fi
 AC_SUBST(BUILDJAVAEXE)
-AM_CONDITIONAL([USEJEXE], [test $BUILDJAVAEXE = yes])
+AM_CONDITIONAL([USEJEXE], [test "$BUILDJAVAEXE" = yes])
 AC_PROG_RANLIB
 
 dnl Check whether we can execute Java programs.
@@ -32,7 +32,7 @@ else
   BUILDJAVA=no
 fi
 AC_SUBST(BUILDJAVA)
-if test -n "$HAVE_JAVAEXEC" && test $BUILDJAVA = yes; then
+if test -n "$HAVE_JAVAEXEC" && test "$BUILDJAVA" = yes; then
   TESTJAVA=yes
 else
   TESTJAVA=no
index 030c636b8cb5b326ea068562cfdfaaca14b50a06..6b7a94b59beac8e2d518aa93f93bf8b1ca325c85 100644 (file)
@@ -32,7 +32,7 @@ else
   BUILDJAVA=no
 fi
 AC_SUBST(BUILDJAVA)
-if test -n "$HAVE_JAVAEXEC" && test $BUILDJAVA = yes; then
+if test -n "$HAVE_JAVAEXEC" && test "$BUILDJAVA" = yes; then
   TESTJAVA=yes
 else
   TESTJAVA=no