meson: Various config.h related fixes
Various adjustments to make the config.h output between autotools and meson more similar by testing on Linux and Windows/MSYS2. Setting things to 1 instead of true and shifting things around is motivated by reducing the diff between the generated files.
This commit is contained in:
@ -98,7 +98,7 @@ if enabled_print_backends.contains('cups')
|
||||
if enable_colord != 'no'
|
||||
want_colord = enable_colord == 'yes'
|
||||
colord_dep = dependency('colord', version: '>= 0.1.9', required: want_colord)
|
||||
cdata.set('HAVE_COLORD', colord_dep.found())
|
||||
cdata.set('HAVE_COLORD', colord_dep.found() ? 1 : false)
|
||||
else
|
||||
cups_colord_dep = []
|
||||
endif
|
||||
|
Reference in New Issue
Block a user