aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/configure.ac
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-05-31 16:38:19 +0200
committerRiccardo Spagni <ric@spagni.net>2015-05-31 16:38:21 +0200
commit431397abfaf37b28c6981242d7fd59d8e520c8ec (patch)
treefa324d2f9f02668a6d56d2e4d195a59ab1d3710e /external/unbound/configure.ac
parentMerge pull request #301 (diff)
parentupdate libunbound (diff)
downloadmonero-431397abfaf37b28c6981242d7fd59d8e520c8ec.tar.xz
Merge pull request #302
6a11907 update libunbound (Riccardo Spagni)
Diffstat (limited to 'external/unbound/configure.ac')
-rw-r--r--external/unbound/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/external/unbound/configure.ac b/external/unbound/configure.ac
index 602813834..de809afdd 100644
--- a/external/unbound/configure.ac
+++ b/external/unbound/configure.ac
@@ -475,6 +475,8 @@ if test x_$ub_test_python != x_no; then
AC_ERROR([Python version >= 2.4.0 is required])
fi
+ PY_MAJOR_VERSION="`$PYTHON -c "import sys; print(sys.version_info.major)"`"
+ AC_SUBST(PY_MAJOR_VERSION)
# Have Python
AC_DEFINE(HAVE_PYTHON,1,[Define if you have Python libraries and header files.])
LIBS="$PYTHON_LDFLAGS $LIBS"