Update copyright statements
Move GitHub references to sourcehut
Turn the README into plain text
Bump autoconf requirement to 2.69
Good enough to generate projects that can be bootstrapped on
contemporary enterprise systems.
Simplify rst2man configuration
Bump Varnish requirement to 7.5.0
Avoid ... was called before AC_USE_SYSTEM_EXTENSIONS
Working in tandem with https://github.com/varnishcache/varnish-cache/pull/3804
We should add AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) to varnish.m4.
With this change, vcdk generated configure scripts will emit these warnings:
configure.ac:22: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
aclocal.m4:445: _VARNISH_VMOD_CONFIG is expanded from...
aclocal.m4:491: _VARNISH_VMOD is expanded from...
aclocal.m4:675: VARNISH_VMODS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_LINK_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
aclocal.m4:445: _VARNISH_VMOD_CONFIG is expanded from...
aclocal.m4:491: _VARNISH_VMOD is expanded from...
aclocal.m4:675: VARNISH_VMODS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_CHECK_INCLUDES_DEFAULT was called before AC_USE_SYSTEM_EXTENSIONS
aclocal.m4:445: _VARNISH_VMOD_CONFIG is expanded from...
aclocal.m4:491: _VARNISH_VMOD is expanded from...
aclocal.m4:675: VARNISH_VMODS is expanded from...
configure.ac:22: the top level
We thus move the respective macros until after implied expansion of
_VARNISH_VMOD_CONFIG.
Update to AC_CONFIG_HEADER(S)
Update tutorial with a counter
Better diff with the --ignore-all-space option.
Finally implement VSC support
Use dedicated iterators per resource
Better diff with the --word-diff --word-diff-regex=. options.
Simpler foreach loop without continuations
Create intermediate directories too
Simplify bootstrap script
Quote AC_CHECK_PROGS(RST2MAN) invocation
Add a convenience script for development
I'm amazed at how not lazy I was when I initially worked on this
project.
Add the varnish installation's paths
This becomes apparent with make distcheck and VTCs which require a VMOD
from varnish-cache (like std): $(vmoddir) is the vmod directory from
the vmod's install prefix, which does not need to be identical to the
prefix varnish is installed under.
Closes #4
Signed-off-by: Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
Compatibility with varnish 6.0, 6.1 and 6.2
* cache.h supersedes the other includes
* __match_proto__ was only intended for use in varnish-cache
* include order to be compatible with all of the 6.x versions
Closes #5
Signed-off-by: Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
Don't allow overrides in ACLOCAL_AMFLAGS
While it's generally a good idea to expose $(VARIABLES) in Makefiles to
allow users to override them from the command line, this one's evaluated
as shell code and fails to capture the flags during the first bootstrap.
Spotted by @nigoroll