From: Wouter Wijngaards Date: Thu, 16 Apr 2015 14:41:55 +0000 (+0000) Subject: and rerun autoconf. X-Git-Tag: release-1.5.4~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5556c4fb3c1e91c2894841fb3dc0f1deb6370d44;p=thirdparty%2Funbound.git and rerun autoconf. git-svn-id: file:///svn/unbound/trunk@3404 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/configure b/configure index 425466ebd..630d6e450 100755 --- a/configure +++ b/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