[libsoup/wip/nacho/soup-extern] Makefile.glib: ensure config.h is included if needed



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]