[PATCH xserver 07/10] meson: Check if SYSV IPC is available

Adam Jackson ajax at nwnk.net
Mon Feb 26 15:52:14 UTC 2018


On Sat, 2018-02-24 at 21:14 +0100, Laurent Carlier wrote:
> > If we're going to make this optional based on anything it should be the
> > presence of <sys/shm.h>. If you don't have that there's certainly no
> > point building the support, and if you do you might as well see if it
> > works at runtime.
> > 
> > - ajax
> 
> I can't find any usage of 'HAVE_SYSV_IPC' in xorg server source code. Maybe 
> it's completely useless to define this anymore ?

Indeed, doesn't seem to be referenced by any drivers either. Probably
Xext/shm.c should just do CheckForShmSyscall unconditionally and all
the HAVE_SYSV_IPC stuff can be deleted.

- ajax


More information about the xorg-devel mailing list