mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 21:41:25 +00:00
meson: Add sha1 library options
v2: Set the define for xha1.c programatically, rather than using loads of conditionals.
This commit is contained in:
@@ -229,7 +229,7 @@ conf_data.set('XV', build_xv)
|
||||
conf_data.set('XvExtension', build_xv)
|
||||
conf_data.set('XvMCExtension', build_xvmc)
|
||||
|
||||
conf_data.set('HAVE_SHA1_IN_LIBNETTLE', '1') # XXX
|
||||
conf_data.set('HAVE_SHA1_IN_' + sha1.to_upper(), '1', description: 'Use @0@ SHA1 functions'.format(sha1))
|
||||
|
||||
conf_data.set('HAVE_APM', build_apm or build_acpi)
|
||||
conf_data.set('HAVE_ACPI', build_acpi)
|
||||
|
||||
Reference in New Issue
Block a user