]> git.proxmox.com Git - mirror_frr.git/commitdiff
*: If building clippy we must have python3
authorDonald Sharp <sharpd@nvidia.com>
Tue, 12 Oct 2021 19:41:07 +0000 (15:41 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 12 Oct 2021 19:41:07 +0000 (15:41 -0400)
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>
configure.ac

index 873ed18db854e80b0446ae93501cbd5a14e19ae8..c5e5d64aa05069c1544ad4bbdca4ca0674a50b7d 100644 (file)
@@ -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.)])
   ])