m4: Add compat AS_VAR_APPEND for older autoconf

This causes failures on EL6 otherwise as autoconf is too old there.
This commit is contained in:
Christophe Fergeau 2015-06-30 11:38:20 +02:00
parent 6183bbde24
commit 2d054e0e69
2 changed files with 5 additions and 4 deletions

View File

@ -12,10 +12,6 @@ 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

View File

@ -1,3 +1,8 @@
# For autoconf < 2.63
m4_ifndef([AS_VAR_APPEND],
AC_DEFUN([AS_VAR_APPEND], $1=$$1$2))
# SPICE_CHECK_SYSDEPS()
# ---------------------
# Checks for header files and library functions needed by spice-common.