[PATCH spice-server 4/5] syntax-check: Avoid unwanted autoconf replacements in Makefile.am

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 server/Makefile.am | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/server/Makefile.am b/server/Makefile.am
index ca67be1..3a0c71e 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -1,4 +1,5 @@
 NULL =
+AT = @
 SUBDIRS = . tests
 
 AM_CPPFLAGS =					\
@@ -207,7 +208,7 @@ spice-server-enums.c: spice-server.h
 			--fhead "#include \"spice-server-enums.h\"\n\n" \
 			--fprod "\n#include \"spice-server.h\"\n" \
 			--vhead "static const G@Type@Value _@enum_name@_values[] = {" \
-			--vprod "  { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
+			--vprod "  { $(AT)VALUENAME$(AT), \"$(AT)VALUENAME$(AT)\", \"@valuenick@\" }," \
 			--vtail "  { 0, NULL, NULL }\n};\n\n" \
 			--vtail "GType\n@enum_name@_get_type (void)\n{\n" \
 			--vtail "  static GType type = 0;\n" \
@@ -225,7 +226,7 @@ spice-server-enums.h: spice-server.h
 			--fhead "G_BEGIN_DECLS\n\n" \
 			--ftail "G_END_DECLS\n\n" \
 			--ftail "#endif /* SPICE_SERVER_ENUMS_H */\n" \
-			--eprod "#define SPICE_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n" \
+			--eprod "#define SPICE_TYPE_$(AT)ENUMSHORT$(AT) @enum_name@_get_type()\n" \
 			--eprod "GType @enum_name@_get_type (void);\n" \
 		$^ >  $@
 
-- 
2.7.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]