summaryrefslogtreecommitdiff
path: root/boilerplate
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-05-01 16:55:38 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2021-05-01 16:55:38 +0100
commit833630979404faae2bd99c59e4e5739e675917f0 (patch)
tree64fa43a6238e4ee21389e0cd1be9561ab7a6eb82 /boilerplate
parent8f6cfe41773be1764a0813e6bd8f97e18d5b8cd3 (diff)
downloadcairo-833630979404faae2bd99c59e4e5739e675917f0.tar.gz
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.
Diffstat (limited to 'boilerplate')
-rw-r--r--boilerplate/meson.build2
1 files changed, 0 insertions, 2 deletions
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],