]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
and rerun autoconf.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 16 Apr 2015 14:41:55 +0000 (14:41 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 16 Apr 2015 14:41:55 +0000 (14:41 +0000)
git-svn-id: file:///svn/unbound/trunk@3404 be551aaa-1e26-0410-a405-d3ace91eadb9

configure

index 425466ebd77de688d34f9f91945e9e20c0961fe5..630d6e45007ac739102befc3410bc72f6507a137 100755 (executable)
--- 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