[libsoup] Makefile.glib: ensure config.h is included if needed



commit 67241fec0cc8aa1ee42f2e8459c630964aa1ea8c
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
    
    https://bugzilla.gnome.org/show_bug.cgi?id=757146

 Makefile.glib |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.glib b/Makefile.glib
index c28c983..9e06353 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]