mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
Check more accurately if gradle exists
Previously, the configure script would only successfully determine that gradle exists if the user specified an absolute path to the executable. It would fail if the user specified only an executable name or if the default value of "gradle" were used. Now it should succeed in either situation.
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ dnl gradle checks.
|
||||
dnl ================================================================
|
||||
|
||||
AC_MSG_CHECKING([for gradle])
|
||||
if test -e ${GRADLE} ; then
|
||||
if command -v "$GRADLE" >/dev/null; then
|
||||
AC_MSG_RESULT([${GRADLE}])
|
||||
AM_CONDITIONAL(HAVE_GRADLE, [test 1 = 1])
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user