We don't use HAVE_CONFIG_H anymore

This commit is contained in:
Adrian Johnson 2023-01-14 10:29:58 +10:30
parent bdbc10077e
commit d5e8a8c02e
2 changed files with 1 additions and 4 deletions

View file

@ -97,9 +97,6 @@ endif
add_project_arguments('-D_GNU_SOURCE', language: 'c')
# Autotools compatibility
add_project_arguments('-DHAVE_CONFIG_H', language: 'c')
# Make sure source directory hasn't been configured with autotools
fs = import('fs')
if fs.exists('config.h') or fs.exists('src/cairo-features.h') or fs.exists('src/cairo-supported-features.h')

View file

@ -7,7 +7,7 @@ fuzz_args = ['-fsanitize=fuzzer,address']
foreach target_name : fuzz_targets
exe = executable(target_name, [target_name + '.c'],
include_directories: [incbase, incsrc],
c_args: [fuzz_args, '-DHAVE_CONFIG_H'],
c_args: [fuzz_args],
link_with: [libcairo],
link_args: [fuzz_args, extra_link_args],
dependencies: [deps, test_deps])