From 833630979404faae2bd99c59e4e5739e675917f0 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 1 May 2021 16:55:38 +0100 Subject: meson: Define HAVE_CONFIG_H as a project flag Precisely what Autotools does, instead of adding it as per-target C argument. Once we remove HAVE_CONFIG_H checks in every source file, we'll be able to drop it. --- boilerplate/meson.build | 2 -- 1 file changed, 2 deletions(-) (limited to 'boilerplate') diff --git a/boilerplate/meson.build b/boilerplate/meson.build index 79d1eeea4..0216b7a6c 100644 --- a/boilerplate/meson.build +++ b/boilerplate/meson.build @@ -35,8 +35,6 @@ cairo_boilerplate_constructors = custom_target('cairo-boilerplate-constructors.c command: [python3, files('make-cairo-boilerplate-constructors.py')[0], '@OUTPUT@', '@INPUT@']) libcairoboilerplate = static_library('cairoboilerplate', cairo_boilerplate_sources + [cairo_boilerplate_constructors], - c_args: ['-DHAVE_CONFIG_H'], - cpp_args: ['-DHAVE_CONFIG_H'], include_directories: [incbase, incsrc], dependencies: deps, link_with: [libcairo], -- cgit v1.2.1