Hallo all, This patch makes it possible for autoconf < 2.63b (which is the unfortunate situation on distros such as RHEL 6.5) to interpret the m4 macros needed for VMOD builds.
AS_COPY_VAR is left alone if already defined, so the patch should have no effect on systems with a recent autoconf. Best, Geoff -- ** * * UPLEX - Nils Goroll Systemoptimierung Scheffelstraße 32 22301 Hamburg Tel +49 40 2880 5731 Mob +49 176 636 90917 Fax +49 40 42949753 http://uplex.de
From 6b325249809aa8f8a9fc66ba56b19bd2ffe8dc11 Mon Sep 17 00:00:00 2001 From: Geoff Simmons <[email protected]> Date: Mon, 15 Dec 2014 14:34:18 +0100 Subject: [PATCH 1/1] define AS_COPY_VAR in varnish.m4 if not already defined (autoconf < 2.63b) found at: http://www.open-mpi.org/community/lists/devel/2010/09/8472.php --- varnish.m4 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/varnish.m4 b/varnish.m4 index 16e27c5..d603e2b 100644 --- a/varnish.m4 +++ b/varnish.m4 @@ -28,6 +28,11 @@ # SUCH DAMAGE. # +# For compatibility with autoconf < 2.63b +m4_ifndef([AS_VAR_COPY], + [m4_define([AS_VAR_COPY], + [AS_LITERAL_IF([$1[]$2], [$1=$$2], [eval $1=\$$2])])]) + # VARNISH_VMOD_INCLUDE_DIR([]) # ---------------------------- -- 1.7.10.4
signature.asc
Description: OpenPGP digital signature
_______________________________________________ varnish-dev mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
