mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-29 02:31:18 +00:00
os: Fix builds with -Dxdmcp=false
Some checks are pending
Build X servers / xserver-build-ubuntu (push) Waiting to run
Build X servers / drivers-build-ubuntu (push) Waiting to run
Build X servers / xserver-build-mingw32-ubuntu (push) Waiting to run
Build X servers / xserver-build-macos (push) Waiting to run
Build X servers / xserver-build-freebsd (push) Waiting to run
Build X servers / xserver-build-dragonflybsd (push) Waiting to run
Build X servers / Release pushed tag (push) Blocked by required conditions
check PRs for merge conflicts / notify (push) Waiting to run
delete old workflow runs / delete_old_workflow_runs (push) Waiting to run
delete old workflow runs / purge_deleted_branch_workflows (push) Waiting to run
Some checks are pending
Build X servers / xserver-build-ubuntu (push) Waiting to run
Build X servers / drivers-build-ubuntu (push) Waiting to run
Build X servers / xserver-build-mingw32-ubuntu (push) Waiting to run
Build X servers / xserver-build-macos (push) Waiting to run
Build X servers / xserver-build-freebsd (push) Waiting to run
Build X servers / xserver-build-dragonflybsd (push) Waiting to run
Build X servers / Release pushed tag (push) Blocked by required conditions
check PRs for merge conflicts / notify (push) Waiting to run
delete old workflow runs / delete_old_workflow_runs (push) Waiting to run
delete old workflow runs / purge_deleted_branch_workflows (push) Waiting to run
Fixes: https://github.com/X11Libre/xserver/issues/239 Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
parent
f252e04a78
commit
5943ca5a1d
8 changed files with 20 additions and 6 deletions
|
|
@ -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…
Reference in a new issue