From ed542c63fc4360ef6d397df3cd92d6623d713e1e Mon Sep 17 00:00:00 2001 From: penenin Date: Fri, 7 Oct 2022 23:06:44 -0700 Subject: THRIFT-5646 Check for the presence of Gradle to build the Kotlin library. (#2691) Client: kotlin --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a926e3e12..9a71fc7e4 100644 --- a/configure.ac +++ b/configure.ac @@ -211,9 +211,10 @@ AM_CONDITIONAL([WITH_JAVA], [test "$have_java" = "yes"]) AX_THRIFT_LIB(kotlin, [Kotlin], yes) if test "$with_kotlin" = "yes"; then AX_JAVAC_AND_JAVA + AC_PATH_PROG([GRADLE], [gradle]) AC_SUBST(CLASSPATH) AC_SUBST(GRADLE_OPTS) - if test "x$JAVA" != "x" && test "x$JAVAC" != "x" ; then + if test "x$JAVA" != "x" && test "x$JAVAC" != "x" && "x$GRADLE" != "x" ; then have_kotlin="yes" fi fi -- cgit v1.2.1