[gtk/matthiasc/for-master] Stop using config.h.meson




commit 76f481eb7b5c1bca7f47b2ec244539a8147af5ee
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Sep 10 20:51:11 2021 -0400

    Stop using config.h.meson
    
    It isn't necessary and makes us miss defines when
    we forget to update it.

 config.h.meson | 286 ---------------------------------------------------------
 meson.build    |   8 +-
 2 files changed, 1 insertion(+), 293 deletions(-)
---
diff --git a/meson.build b/meson.build
index c0b5407a0d..070aa6a80d 100644
--- a/meson.build
+++ b/meson.build
@@ -150,11 +150,6 @@ cdata.set_quoted('GTK_DATADIR', gtk_datadir)
 cdata.set_quoted('GTK_LIBDIR', gtk_libdir)
 cdata.set_quoted('GTK_SYSCONFDIR', gtk_sysconfdir)
 cdata.set_quoted('GETTEXT_PACKAGE', 'gtk40')
-cdata.set('GTK_MAJOR_VERSION', gtk_major_version)
-cdata.set('GTK_MINOR_VERSION', gtk_minor_version)
-cdata.set('GTK_MICRO_VERSION', gtk_micro_version)
-cdata.set('GTK_BINARY_AGE', gtk_binary_age)
-cdata.set('GTK_INTERFACE_AGE', gtk_interface_age)
 
 check_headers = [
   'crt/externs.h',
@@ -747,8 +742,7 @@ if get_option('build-examples')
 endif
 
 # config.h
-configure_file(input: 'config.h.meson',
-               output: 'config.h',
+configure_file(output: 'config.h',
                configuration: cdata)
 
 # Requires


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