drop support for ancient pre-7.1 xextproto

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-12-18 12:05:30 +01:00
parent 924457590d
commit b75a79d6b3
4 changed files with 2 additions and 19 deletions

View File

@@ -71,10 +71,8 @@ XORG_DRIVER_CHECK_EXT(DPMSExtension, xextproto)
# Obtain compiler/linker options for the driver dependencies
PKG_CHECK_MODULES(XORG, [xorg-server >= 1.18 xproto fontsproto $REQUIRED_MODULES])
PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1],
HAVE_XEXTPROTO_71="yes"; AC_DEFINE(HAVE_XEXTPROTO_71, 1, [xextproto 7.1 available]),
HAVE_XEXTPROTO_71="no")
AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes" ])
PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1])
sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
# Checks for libraries.

View File

@@ -33,12 +33,7 @@
#include "xf86.h"
#include "xf86Modes.h"
#ifdef HAVE_XEXTPROTO_71
#include "X11/extensions/dpmsconst.h"
#else
#define DPMS_SERVER
#include "X11/extensions/dpms.h"
#endif
#include "r128.h"
#include "r128_probe.h"

View File

@@ -106,12 +106,7 @@ typedef void *xf86Int10InfoPtr;
#include "dixstruct.h"
/* DPMS support. */
#ifdef HAVE_XEXTPROTO_71
#include <X11/extensions/dpmsconst.h>
#else
#define DPMS_SERVER
#include <X11/extensions/dpms.h>
#endif
static Bool R128CloseScreen(ScreenPtr pScreen);
static Bool R128SaveScreen(ScreenPtr pScreen, int mode);

View File

@@ -40,12 +40,7 @@
#include "xf86Priv.h"
#include "xf86Privstr.h"
#ifdef HAVE_XEXTPROTO_71
#include "X11/extensions/dpmsconst.h"
#else
#define DPMS_SERVER
#include "X11/extensions/dpms.h"
#endif
#include "r128.h"
#include "r128_probe.h"