[Spice-devel] [spice-common 13/13] build-sys: Add fallback for AS_VAR_APPEND

Marc-André Lureau mlureau at redhat.com
Wed Dec 3 10:09:05 PST 2014


----- Original Message -----
> This macro is not available with RHEL6 autoconf.

Well, running autoconf in RHEL6 shouldn't be needed, I don't think we need fallback.

> ---
>  configure.ac | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/configure.ac b/configure.ac
> index e5c4021..d8c73f6 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -12,6 +12,10 @@ AC_CONFIG_AUX_DIR([build-aux])
>  # For automake >= 1.12
>  m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
>  
> +# For autoconf <= 2.63
> +m4_ifndef([AS_VAR_APPEND],
> +          AC_DEFUN([AS_VAR_APPEND], $1=$$1$2))
> +
>  # Checks for programs
>  AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip tar-ustar foreign -Wall
>  -Werror])
>  AM_MAINTAINER_MODE
> --
> 2.1.0
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list