summaryrefslogtreecommitdiffstats
path: root/configure.ac
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:01:34 +0200
commit878d81dae494fab6b67ba34254d389e7f42d7d9d (patch)
tree5ffb1e3213204e3fef3787f7cecca8c4cafaa89c /configure.ac
parentf017d7a42163c50af240c444b5de26f5fae9ea9f (diff)
downloadspice-878d81dae494fab6b67ba34254d389e7f42d7d9d.tar.gz
spice-878d81dae494fab6b67ba34254d389e7f42d7d9d.tar.xz
spice-878d81dae494fab6b67ba34254d389e7f42d7d9d.zip
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a8b610be..9c92cc6f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,7 +28,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(.)