mirror of
https://github.com/X11Libre/xserver.git
synced 2026-01-26 05:57:53 +00:00
os: Fix builds with -Dxdmcp=false
Fixes: https://github.com/X11Libre/xserver/issues/239 Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
parent
f252e04a78
commit
5943ca5a1d
@ -243,7 +243,7 @@ conf_data.set('XACE', '1')
|
||||
conf_data.set('XCMISC', '1')
|
||||
conf_data.set('XCSECURITY', build_xsecurity ? '1' : false)
|
||||
conf_data.set('CONFIG_NAMESPACE', build_namespace ? '1' : false)
|
||||
conf_data.set('XDMCP', xdmcp_dep.found() ? '1' : false)
|
||||
conf_data.set('XDMCP', build_xdmcp ? '1' : false)
|
||||
conf_data.set('XF86BIGFONT', build_xf86bigfont ? '1' : false)
|
||||
conf_data.set('XF86DRI', build_dri1 ? '1' : false)
|
||||
conf_data.set('XF86VIDMODE', 1)
|
||||
|
||||
@ -427,10 +427,8 @@ else
|
||||
endif
|
||||
endif
|
||||
|
||||
xdmcp_dep = dependency('', required : false)
|
||||
if get_option('xdmcp')
|
||||
xdmcp_dep = dependency('xdmcp')
|
||||
endif
|
||||
build_xdmcp = get_option('xdmcp')
|
||||
xdmcp_dep = dependency('xdmcp', required : build_xdmcp)
|
||||
|
||||
has_xdm_auth = get_option('xdm-auth-1')
|
||||
|
||||
|
||||
@ -180,7 +180,10 @@ SOFTWARE.
|
||||
#include "dixstruct.h"
|
||||
|
||||
#include "xace.h"
|
||||
|
||||
#ifdef XDMCP
|
||||
#include "xdmcp.h"
|
||||
#endif
|
||||
|
||||
Bool defeatAccessControl = FALSE;
|
||||
|
||||
|
||||
@ -48,7 +48,10 @@ from The Open Group.
|
||||
|
||||
#include "os/auth.h"
|
||||
|
||||
#ifdef XDMCP
|
||||
#include "xdmcp.h"
|
||||
#endif
|
||||
|
||||
#include "xdmauth.h"
|
||||
#include "mitauth.h"
|
||||
|
||||
|
||||
@ -115,7 +115,9 @@ SOFTWARE.
|
||||
#include <systemd/sd-daemon.h>
|
||||
#endif
|
||||
|
||||
#ifdef XDMCP
|
||||
#include "xdmcp.h"
|
||||
#endif
|
||||
|
||||
#define MAX_CONNECTIONS (1<<16)
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ if conf_data.get('HAVE_SIGACTION').to_int() != 0
|
||||
srcs_os += 'busfault.c'
|
||||
endif
|
||||
|
||||
if get_option('xdmcp')
|
||||
if build_xdmcp
|
||||
srcs_os += 'xdmcp.c'
|
||||
endif
|
||||
|
||||
|
||||
@ -70,7 +70,11 @@ OR PERFORMANCE OF THIS SOFTWARE.
|
||||
#include "dixfont.h"
|
||||
#include <X11/fonts/libxfont2.h>
|
||||
#include "osdep.h"
|
||||
|
||||
#ifdef XDMCP
|
||||
#include "xdmcp.h"
|
||||
#endif
|
||||
|
||||
#include "extension.h"
|
||||
#include <signal.h>
|
||||
#ifndef WIN32
|
||||
|
||||
@ -43,7 +43,11 @@ from The Open Group.
|
||||
|
||||
#include "os.h"
|
||||
#include "osdep.h"
|
||||
|
||||
#ifdef XDMCP
|
||||
#include "xdmcp.h"
|
||||
#endif
|
||||
|
||||
#include "xdmauth.h"
|
||||
#include "dixstruct.h"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user