Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
bfab0a1f
Commit
bfab0a1f
authored
Feb 20, 2017
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check for python >= 2.7
a29fca70
requires subprocess.check_output which was added with Python 2.7
parent
2c078866
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
configure.ac
configure.ac
+11
-2
No files found.
configure.ac
View file @
bfab0a1f
...
...
@@ -345,11 +345,20 @@ else
fi
AM_MISSING_HAS_RUN
AC_CHECK_PROGS(PYTHON, [python3 python3.1 python3.2 python2.7 python2
.6 python2.5 python2
python], "no")
AC_CHECK_PROGS(PYTHON, [python3 python3.1 python3.2 python2.7 python2 python], "no")
if test "x$PYTHON" = "xno"; then
AC_MSG_ERROR([Python is needed to build Varnish, please install python.])
AC_MSG_ERROR([Python is needed to build Varnish, please install python
2.7 or later
.])
fi
py_ver=`"$PYTHON" -V 2>&1`
case "$py_ver" in
Python?3.* | Python?2.[7-9].*)
;;
*)
AC_MSG_ERROR([Python >= 2.7 is required])
;;
esac
AC_CHECK_DECL([SO_ACCEPTFILTER],
AC_DEFINE(HAVE_ACCEPT_FILTERS,1,[Define to 1 if you have accept filters]),
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment