diff options
author | Bert Vermeulen <bert@biot.com> | 2014-03-20 16:42:18 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2014-03-20 17:05:08 +0100 |
commit | 1ced2b013412336a9d9ac77aded7078b4eef3780 (patch) | |
tree | 8b4e242622fd08e237695ed0a0997e82f40b830e /configure.ac | |
parent | 2160cddd3b39903b3102976e1a8d324a15412c58 (diff) | |
download | libsigrokdecode-1ced2b013412336a9d9ac77aded7078b4eef3780.tar.gz libsigrokdecode-1ced2b013412336a9d9ac77aded7078b4eef3780.zip |
Bump minimum Python version to 3.2
We use some functions specific to 3.1, but every distribution appears
to be at 3.2.x already anyway.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac index 962c1b7..d9bf6a9 100644 --- a/configure.ac +++ b/configure.ac @@ -94,22 +94,16 @@ AM_PATH_GLIB_2_0([2.24.0], # See also: http://sigrok.org/wiki/Libsigrokdecode/Python CPPFLAGS_PYTHON="" LDFLAGS_PYTHON="" -PKG_CHECK_MODULES([python3], [python3 >= 3.0], +PKG_CHECK_MODULES([python3], [python3 >= 3.2], [CPPFLAGS_PYTHON="$CPPFLAGS_PYTHON $python3_CFLAGS"; LDFLAGS_PYTHON="$LDFLAGS_PYTHON $python3_LIBS"], -[PKG_CHECK_MODULES([python33], [python-3.3 >= 3.0], +[PKG_CHECK_MODULES([python33], [python-3.3 >= 3.2], [CPPFLAGS_PYTHON="$CPPFLAGS_PYTHON $python33_CFLAGS"; LDFLAGS_PYTHON="$LDFLAGS_PYTHON $python33_LIBS"], -[PKG_CHECK_MODULES([python32], [python-3.2 >= 3.0], +[PKG_CHECK_MODULES([python32], [python-3.2 >= 3.2], [CPPFLAGS_PYTHON="$CPPFLAGS_PYTHON $python32_CFLAGS"; LDFLAGS_PYTHON="$LDFLAGS_PYTHON $python32_LIBS"], -[PKG_CHECK_MODULES([python31], [python-3.1 >= 3.0], - [CPPFLAGS_PYTHON="$CPPFLAGS_PYTHON $python31_CFLAGS"; - LDFLAGS_PYTHON="$LDFLAGS_PYTHON $python31_LIBS"], -[PKG_CHECK_MODULES([python30], [python-3.0 >= 3.0], - [CPPFLAGS_PYTHON="$CPPFLAGS_PYTHON $python30_CFLAGS"; - LDFLAGS_PYTHON="$LDFLAGS_PYTHON $python30_LIBS"], -)])])])]) +)])]) AC_SUBST(CPPFLAGS_PYTHON) AC_SUBST(LDFLAGS_PYTHON) |