Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2843

Automake configure.ac has possible typo related to Java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.9.3
    • Build Process
    • None

    Description

      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.

      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
      

      Attachments

        Activity

          People

            cash Cash Costello
            cash Cash Costello
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: