diff options
author | Adam Jackson <ajax@redhat.com> | 2018-01-08 15:50:28 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-01-16 16:04:39 -0500 |
commit | c3fbe2bbff19c67179f52b8dcd27b576a958fde7 (patch) | |
tree | 9bdfbf2f9100223e7b70572b9f71838da07ad67f | |
parent | 4d82a150b2ee29c1025408cdb9ece255452a81bd (diff) |
meson: Enable SUN-DES-1 auth code
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
-rw-r--r-- | include/meson.build | 1 | ||||
-rw-r--r-- | meson_options.txt | 1 | ||||
-rw-r--r-- | os/meson.build | 4 |
3 files changed, 6 insertions, 0 deletions
diff --git a/include/meson.build b/include/meson.build index 216744ca2..d6ec0d7cd 100644 --- a/include/meson.build +++ b/include/meson.build @@ -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')) diff --git a/meson_options.txt b/meson_options.txt index d1341ede2..294279a5d 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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') diff --git a/os/meson.build b/os/meson.build index 940c6f4d0..54124d32a 100644 --- a/os/meson.build +++ b/os/meson.build @@ -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', |