summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-10-12 15:41:07 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-10-12 15:41:07 -0400
commit7f39a26c775daeba75b7c512342c98bfafe7e220 (patch)
tree016429a60c13f35b6a04e17921ebe78cf327d1c4
parent38e7e55306fd242cd4cd7a1113cefe28284f57a8 (diff)
*: If building clippy we must have python3
When building clippy we must have python 3. Let's ensure that we test for it and stop the auto-make if it is not installed on the system. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 873ed18db8..c5e5d64aa0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -797,6 +797,7 @@ fi
#
AS_IF([test "$host" = "$build"], [
+ AM_PATH_PYTHON([3])
AC_CHECK_HEADER([gelf.h], [], [
AC_MSG_ERROR([libelf headers are required for building clippy. (Host only when cross-compiling.)])
])