meson: Enable SUN-DES-1 auth code

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Adam Jackson 2018-01-08 15:50:28 -05:00
parent 4d82a150b2
commit c3fbe2bbff
3 changed files with 6 additions and 0 deletions

View File

@ -90,6 +90,7 @@ conf_data.set_quoted('SYSCONFDIR', join_paths(get_option('prefix'), get_option('
conf_data.set('XORG_VERSION_CURRENT', release)
conf_data.set('HASXDMAUTH', get_option('xdm-auth-1'))
conf_data.set('SECURE_RPC', get_option('secure-rpc'))
conf_data.set('HAVE_DBM_H', cc.has_header('dbm.h'))
conf_data.set('HAVE_DLFCN_H', cc.has_header('dlfcn.h'))

View File

@ -25,6 +25,7 @@ option('module_dir', type: 'string',
option('glx', type: 'boolean', value: true)
option('xdmcp', type: 'boolean', value: true)
option('xdm-auth-1', type: 'boolean', value: true)
option('secure-rpc', type: 'boolean', value: true)
option('ipv6', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto')
option('xkb_dir', type: 'string')

View File

@ -54,6 +54,10 @@ if get_option('xdmcp')
srcs_os += 'xdmcp.c'
endif
if get_option('secure-rpc')
srcs_os += 'rpcauth.c'
endif
libxlibc = []
if srcs_libc.length() > 0
libxlibc = static_library('libxlibc',