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

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