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

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