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:
Christoph Reiter
2019-04-01 20:57:45 +02:00
parent 2d31112a7f
commit 28833783cc
4 changed files with 98 additions and 98 deletions

View File

@ -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