[dconf: 2/21] build: Remove macro definition



commit e73979ae330cc476141ff509b60832fe2cf8ea10
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.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 68e4e57..05c87dc 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]