summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-06-23 18:32:30 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-06-26 16:02:46 +0200
commitf8b5b3e23d34dc79884e32238e0da62c56ea2ebe (patch)
tree7f0e05436ae920d0df8f74beabbe404ec452dfa7
parent5be627986bf00436b8fd48f365fca47dd87b4754 (diff)
build-sys: Fix build with automake < 1.13
AC_CONFIG_MACRO_DIRS is not available with older automake versions, which causes autogen.sh failures on RHEL6. m4_include() can be used instead.
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d1234c7..1b347c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,8 @@ AC_PREREQ([2.57])
AC_INIT([spice-gtk], [m4_esyscmd(build-aux/git-version-gen .tarball-version)],
[spice-devel@lists.freedesktop.org])
-AC_CONFIG_MACRO_DIRS([m4 spice-common/m4])
+AC_CONFIG_MACRO_DIR([m4])
+m4_include([spice-common/m4/spice-deps.m4])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_AUX_DIR([build-aux])