[libsoup/wip/nacho/soup-extern] Makefile.glib: ensure config.h is included if needed
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/nacho/soup-extern] Makefile.glib: ensure config.h is included if needed
- Date: Tue, 3 Nov 2015 09:52:53 +0000 (UTC)
commit 13e36f08cbc366c19f1372b9b4c022a14dc741a1
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue Nov 3 10:51:52 2015 +0100
Makefile.glib: ensure config.h is included if needed
Makefile.glib | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.glib b/Makefile.glib
index 231aeb8..9d337ab 100644
--- a/Makefile.glib
+++ b/Makefile.glib
@@ -218,7 +218,7 @@ $(1).h: $(1).h.stamp
$(1).c.stamp: $(_glib_enum_types_h_sources) Makefile
$$(_GLIB_V_GEN) $$(GLIB_MKENUMS) \
- --fhead "/* Generated by glib-mkenums. Do not edit */\n\n#include \"$(notdir $(1)).h\"\n" \
+ --fhead "/* Generated by glib-mkenums. Do not edit */\n\n#ifdef HAVE_CONFIG_H\n#include
<config.h>\n#endif\n\n#include \"$(notdir $(1)).h\"\n\n" \
$$(GLIB_MKENUMS_C_FLAGS) \
$$($(_glib_enum_types_prefix)_MKENUMS_C_FLAGS) \
--fhead "$$(foreach f,$$(filter-out Makefile,$$(^F)),\n#include \"$$(f)\")\n\n" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]