]> git.saurik.com Git - bison.git/commitdiff
tests: fix SKIP_IF for Java.
authorAkim Demaille <akim@lrde.epita.fr>
Thu, 5 Jul 2012 12:27:09 +0000 (14:27 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Thu, 5 Jul 2012 12:27:09 +0000 (14:27 +0200)
* tests/local.at (AT_JAVA_COMPILE): here.

tests/local.at

index e02bce0c5cc68b8585ed057671842d9a65f465a1..35d406fea5aefce0c604741db8794d2512196f18 100644 (file)
@@ -596,7 +596,8 @@ AT_CHECK(m4_join([ ],
 # is not installed.
 m4_define([AT_JAVA_COMPILE],
 [AT_KEYWORDS(java)
 # is not installed.
 m4_define([AT_JAVA_COMPILE],
 [AT_KEYWORDS(java)
-AT_SKIP_IF([[test -z "$CONF_JAVA$CONF_JAVAC"]])
+AT_SKIP_IF([[test -z "$CONF_JAVAC"]])
+AT_SKIP_IF([[test -z "$CONF_JAVA"]])
 AT_CHECK([[$SHELL ../../../javacomp.sh ]$1],
          [[0]], [ignore], [ignore])])
 
 AT_CHECK([[$SHELL ../../../javacomp.sh ]$1],
          [[0]], [ignore], [ignore])])