[Spice-devel] [PATCH spice-common] Fix generating Makefile.in with automake >=1.14
Tiziano Müller
tiziano.mueller at stepping-stone.ch
Wed Mar 5 02:04:22 PST 2014
When using automake >=1.14 on spice, the following error occurs:
automake-1.14: warnings are treated as errors
common/Makefile.am:4: warning: source file
'$(srcdir)/generated_client_demarshallers.c' is in a subdirectory,
common/Makefile.am:4: but option 'subdir-objects' is disabled
Fix this by adding the subdir-objects flag to AM_INIT_AUTOMAKE
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 273d935..69251e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,7 @@ AC_CONFIG_AUX_DIR([build-aux])
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
# Checks for programs
-AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip tar-ustar foreign -Wall -Werror])
+AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip tar-ustar foreign -Wall -Werror subdir-objects])
AM_MAINTAINER_MODE
AM_SILENT_RULES([yes])
LT_INIT
--
1.9.0
More information about the Spice-devel
mailing list