From f02ef622e49ea564b4db513c8d5f06d5220470b8 Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Tue, 17 Aug 2021 20:10:47 -0500 Subject: [PATCH] Show in configure summary when gradle is not found Previously, if configure determined that gradle could not be found, the summary at the end of the configure output would nevertheless print the name or path of the nonexistent gradle executable that it tried to find. Now it clears that variable. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index fb40c6ed..1267f6f8 100644 --- a/configure.ac +++ b/configure.ac @@ -85,6 +85,7 @@ if command -v "$GRADLE" >/dev/null; then AC_MSG_RESULT([$GRADLE]) AM_CONDITIONAL(HAVE_GRADLE, [test 1 = 1]) else + GRADLE= AC_MSG_RESULT([no]) AM_CONDITIONAL(HAVE_GRADLE, [test 1 = 0]) fi