build-sys: Add fallback for AS_VAR_APPEND

This macro is not available with RHEL6 autoconf.
This commit is contained in:
Christophe Fergeau 2014-12-03 16:51:13 +01:00
parent 2195369372
commit 2f1ba3b77f

View File

@ -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