[gnome-clocks] Force inclusion of config.h



commit 937e451a616f91ca82aef2491a0de6eeb0918ca6
Author: Paolo Borelli <pborelli gnome org>
Date:   Tue Dec 27 17:40:36 2016 +0100

    Force inclusion of config.h
    
    Vala generates .c files where config.h may not be the first include.
    It is cleaner to force -include instead of redefining GETTEXT_PACKAGE

 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 76d95c7..d22c4a7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -78,9 +78,9 @@ images_DATA = \
        data/images/night.png
 
 AM_CPPFLAGS = \
+       -include config.h \
        -DGWEATHER_I_KNOW_THIS_IS_UNSTABLE \
        -DGNOME_DESKTOP_USE_UNSTABLE_API \
-       -DGETTEXT_PACKAGE=\""$(GETTEXT_PACKAGE)"\" \
        -DGNOMELOCALEDIR=\""$(localedir)"\" \
        -DDATADIR=\""$(datadir)"\"
 


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