[dconf/wip/inigomartinez/meson: 2/14] build: Remove macro definition



commit 8a6c93c31f21e9f04f6588e6e9bd81b5440c0cd4
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Sun Nov 12 11:52:35 2017 +0100

    build: Remove macro definition
    
    meson uses the compiler's HAVE_CONFIG_H macro definiton, inherited
    from autotools behaviours. However it is not necessary.
    
    This patch removes the use of the macro definition.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=790236

 meson.build |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index 19dbe82..a5367e0 100644
--- a/meson.build
+++ b/meson.build
@@ -53,7 +53,7 @@ foreach define: set_defines
 endforeach
 
 # compiler flags
-common_flags = ['-DHAVE_CONFIG_H']
+common_flags = []
 
 if get_option('buildtype').contains('debug')
   test_cflags = [


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