diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-05-31 16:38:19 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-05-31 16:38:21 +0200 |
commit | 431397abfaf37b28c6981242d7fd59d8e520c8ec (patch) | |
tree | fa324d2f9f02668a6d56d2e4d195a59ab1d3710e /external/unbound/configure | |
parent | Merge pull request #301 (diff) | |
parent | update libunbound (diff) | |
download | monero-431397abfaf37b28c6981242d7fd59d8e520c8ec.tar.xz |
Merge pull request #302
6a11907 update libunbound (Riccardo Spagni)
Diffstat (limited to 'external/unbound/configure')
-rwxr-xr-x | external/unbound/configure | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/external/unbound/configure b/external/unbound/configure index 425466ebd..630d6e450 100755 --- a/external/unbound/configure +++ b/external/unbound/configure @@ -677,6 +677,7 @@ WITH_PYTHONMODULE swig SWIG_LIB SWIG +PY_MAJOR_VERSION PYTHON_SITE_PKG PYTHON_LDFLAGS PYTHON_CPPFLAGS @@ -16100,6 +16101,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu as_fn_error $? "Python version >= 2.4.0 is required" "$LINENO" 5 fi + PY_MAJOR_VERSION="`$PYTHON -c "import sys; print(sys.version_info.major)"`" + # Have Python $as_echo "#define HAVE_PYTHON 1" >>confdefs.h |