Cash Costello created THRIFT-2843:
-------------------------------------

             Summary: Automake configure.ac has possible typo related to Java
                 Key: THRIFT-2843
                 URL: https://issues.apache.org/jira/browse/THRIFT-2843
             Project: Thrift
          Issue Type: Bug
          Components: Build Process
            Reporter: Cash Costello
            Priority: Trivial


Looks like it tests for the java compiler twice. I'm guessing the second test 
is unnecessary or should be a test for the Java runtime.

{code}
AX_THRIFT_LIB(java, [Java], yes)
if test "$with_java" = "yes";  then
  AX_JAVAC_AND_JAVA
  AC_PATH_PROG([ANT], [ant])
  AX_CHECK_ANT_VERSION($ANT, 1.7)
  AC_SUBST(CLASSPATH)
  AC_SUBST(ANT_FLAGS)
  if test "x$JAVAC" != "x" && test "x$JAVAC" != "x" && test "x$ANT" != "x" ; 
then
    have_java="yes"
  fi
fi
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to