[Spice-devel] [PATCH] build-sys: Fix build with automake < 1.13

Christophe Fergeau cfergeau at redhat.com
Fri Jun 26 06:21:44 PDT 2015


On Wed, Jun 24, 2015 at 09:57:22AM +0200, Christophe Fergeau wrote:
> AC_CONFIG_MACRO_DIRS is not available with older automake versions,
> which causes autogen.sh failures on el6. m4_include() can be used
> instead.
> ---
> Not exactly sure this is the right fix, but this works on both el6 and f22

Ping?
> 
> 
>  configure.ac | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 14217e2..e200417 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -29,7 +29,8 @@ fi
>  SPICE_SERVER_VERSION=`printf "0x%02x%02x%02x" $major $minor $micro`
>  AC_SUBST(SPICE_SERVER_VERSION)
>  
> -AC_CONFIG_MACRO_DIRS([m4 spice-common/m4])
> +AC_CONFIG_MACRO_DIR([m4])
> +m4_include([spice-common/m4/spice-deps.m4])
>  AM_CONFIG_HEADER([config.h])
>  AC_CONFIG_AUX_DIR(.)
>  
> -- 
> 2.4.3
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150626/6969c13c/attachment.sig>


More information about the Spice-devel mailing list