From 6415a2032ec4b2ecc5917dae85b8f9e6f9e221d2 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Tue, 28 Apr 2020 20:16:40 +0000 Subject: [PATCH] Fix #696 - Find python as part of the configure process instead of hard coding it. Change-Id: I66d91f16d156d1a940f41ab16a049fb38f0e8bc4 --- configure.ac | 1 + lib/wind/Makefile.am | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 662de5d87..39c311085 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,7 @@ dnl Checks for programs. AC_PROG_CC AM_PROG_CC_C_O AC_PROG_CPP +AM_PATH_PYTHON AC_CHECK_PROG(CLANG_FORMAT, clang-format, [clang-format], [no]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) diff --git a/lib/wind/Makefile.am b/lib/wind/Makefile.am index 0b493118b..4a34496fc 100644 --- a/lib/wind/Makefile.am +++ b/lib/wind/Makefile.am @@ -89,8 +89,6 @@ idn_lookup_SOURCES = idn-lookup.c LDADD = libwind.la $(LIB_roken) -PYTHON = python - if !MAINTAINER_MODE skip_python = test -f $@ || endif