Blame SOURCES/1-configure-add-python-path-detection.patch

05afe3
From 266e10a719a396a3a522e4b0ce4271a372e4f6f1 Mon Sep 17 00:00:00 2001
05afe3
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
05afe3
Date: Fri, 13 Jul 2018 08:59:45 +0200
05afe3
Subject: [PATCH 1/3] configure: add Python path detection
05afe3
05afe3
---
05afe3
 configure.ac | 6 ++++++
05afe3
 1 file changed, 6 insertions(+)
05afe3
05afe3
diff --git a/configure.ac b/configure.ac
05afe3
index 90ed2453..bdf057d3 100644
05afe3
--- a/configure.ac
05afe3
+++ b/configure.ac
05afe3
@@ -501,6 +501,12 @@ AC_SUBST(PING)
05afe3
 AC_SUBST(RM)
05afe3
 AC_SUBST(TEST)
05afe3
 
05afe3
+AM_PATH_PYTHON
05afe3
+if test -z "$PYTHON"; then
05afe3
+    echo "*** Essential program python not found" 1>&2
05afe3
+    exit 1
05afe3
+fi
05afe3
+
05afe3
 AC_PATH_PROGS(ROUTE, route)
05afe3
 AC_DEFINE_UNQUOTED(ROUTE, "$ROUTE", path to route command)
05afe3
 
05afe3
-- 
05afe3
2.17.1
05afe3