telepathy-gabble: include config.h in the generated gabble-enumtypes.c

Simon McVittie smcv at kemper.freedesktop.org
Tue Sep 11 04:26:43 PDT 2012


Module: telepathy-gabble
Branch: master
Commit: 579eb4f247b7383d4f50f79e7802f9b48ffadf7a
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=579eb4f247b7383d4f50f79e7802f9b48ffadf7a

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Wed Apr  4 09:34:25 2012 +0200

include config.h in the generated gabble-enumtypes.c

---

 src/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 28f0272..c0f831d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -313,6 +313,7 @@ gabble-enumtypes.h: $(enumtype_sources) Makefile.in
 
 gabble-enumtypes.c: $(enumtype_sources) Makefile.in
 	$(AM_V_GEN)glib-mkenums \
+	--fhead "#include \"config.h\"\n" \
 	--fhead "#include <$*.h>" \
 	--fprod "\n/* enumerations from \"@filename@\" */\n#include \"@filename@\"" \
 	--vhead "GType\n at enum_name@_get_type (void)\n{\n  static GType etype = 0;\n  if (etype == 0) {\n    static const G at Type@Value values[] = {"     \



More information about the telepathy-commits mailing list