diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2018-04-23 15:41:12 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2018-04-24 20:06:07 +0200 |
commit | 9c1fef183f8cf73cd97dd98f84fe20b24299bddb (patch) | |
tree | c99e751000535701d2a345e50722c19d60f17b8e /configure.ac | |
parent | 2d06fb07e4535a82e2e6483d5b26b58bd56eeb52 (diff) |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
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], |