Commit da9582c2 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

We can run the VCC generator script with python 2.5..3.2, look for anything

that looks like that.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4736 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 631da06d
......@@ -291,9 +291,9 @@ else
fi
AM_MISSING_HAS_RUN
AC_CHECK_PROGS(PYTHON3, [python3 python3.1 python3.2], :)
if test "$PYTHON3" = :; then
PYTHON3="${am_missing_run}python3"
AC_CHECK_PROGS(PYTHON, [python python2 python2.5 python2.6 python3 python3.1 python3.2], :)
if test "$PYTHON" = :; then
PYTHON="${am_missing_run}python"
fi
# Solaris defines SO_{RCV,SND}TIMEO, but does not implement them.
......
......@@ -30,10 +30,10 @@ EXTRA_DIST = \
generate.py
$(srcdir)/vcc_obj.c: $(srcdir)/generate.py
cd $(srcdir) && @PYTHON3@ generate.py || true
cd $(srcdir) && @PYTHON@ generate.py || true
$(srcdir)/vcc_fixed_token.c: $(srcdir)/generate.py $(top_srcdir)/include/vcl.h $(top_srcdir)/include/vrt.h $(top_srcdir)/include/vrt_obj.h
cd $(srcdir) && @PYTHON3@ generate.py || true
cd $(srcdir) && @PYTHON@ generate.py || true
$(srcdir)/vcc_token_defs.h: $(srcdir)/generate.py $(top_srcdir)/include/vcl.h $(top_srcdir)/include/vrt.h $(top_srcdir)/include/vrt_obj.h
cd $(srcdir) && @PYTHON3@ generate.py || true
cd $(srcdir) && @PYTHON@ generate.py || true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment