summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-03-19 15:15:13 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2014-04-16 16:50:14 +0200
commitd9fa872a944ded5953f7151280f5c0cc1611bad0 (patch)
tree65888213ce6212aad100014e0c0a21475aa49a93 /configure.ac
parentdb984941af2db36859de9e3e1cf65d0a19c6b481 (diff)
downloadspice-d9fa872a944ded5953f7151280f5c0cc1611bad0.tar.gz
spice-d9fa872a944ded5953f7151280f5c0cc1611bad0.tar.xz
spice-d9fa872a944ded5953f7151280f5c0cc1611bad0.zip
build-sys: Fix VPATH builds
Fixing this is a matter of picking the spice-common fix to generate the (de)marshaller source files in the right place, and to adjust the compiler flags to look for includes in the build directory as well.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e4ba9b24..6fe566f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -157,7 +157,7 @@ dnl =========================================================================
dnl Check deps
AC_CONFIG_SUBDIRS([spice-common])
-COMMON_CFLAGS='-I ${top_srcdir}/spice-common/ -I ${top_srcdir}/spice-common/spice-protocol/'
+COMMON_CFLAGS='-I ${top_srcdir}/spice-common/ -I ${top_builddir}/spice-common/ -I ${top_srcdir}/spice-common/spice-protocol/'
AC_SUBST(COMMON_CFLAGS)
AC_CHECK_LIBM