From 9c1fef183f8cf73cd97dd98f84fe20b24299bddb Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Mon, 23 Apr 2018 15:41:12 +0200 Subject: build: figure out the right Python provider for the build Python can be called python3, python2 or merely python, but we're fine with either. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a59bb9e..f633aac 100644 --- a/configure.ac +++ b/configure.ac @@ -80,6 +80,8 @@ AC_SUBST(GLIB_LIBS) GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` AC_SUBST(GLIB_MKENUMS) +AM_PATH_PYTHON([], [], [PYTHON=python]) + dnl qmi-firmware-update is optional, enabled by default AC_ARG_ENABLE([firmware-update], AS_HELP_STRING([--enable-firmware-update], -- cgit v1.2.3