|
@@ -120,6 +120,7 @@ FEATURE_TESTS = \
|
|
|
gtk2-infobar \
|
|
|
libperl \
|
|
|
libpython \
|
|
|
+ libpython-version \
|
|
|
libnuma
|
|
|
|
|
|
$(foreach test,$(FEATURE_TESTS),$(call feature_check,$(test),$(test)))
|
|
@@ -372,7 +373,7 @@ else
|
|
|
$(call disable-python,Python.h (for Python 2.x))
|
|
|
else
|
|
|
|
|
|
- ifneq ($(call try-cc,$(SOURCE_PYTHON_VERSION),$(FLAGS_PYTHON_EMBED),python version),y)
|
|
|
+ ifneq ($(feature-libpython-version), 1)
|
|
|
$(warning Python 3 is not yet supported; please set)
|
|
|
$(warning PYTHON and/or PYTHON_CONFIG appropriately.)
|
|
|
$(warning If you also have Python 2 installed, then)
|