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:04:09 +01:00
parent f61fc399ff
commit fc194f2bfd
4 changed files with 1 additions and 23 deletions

View File

@@ -62,14 +62,9 @@ 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])
# Checks for libraries.
save_CFLAGS="$CFLAGS"
CFLAGS="$XORG_CFLAGS"

View File

@@ -25,13 +25,7 @@
#include <unistd.h>
#ifdef HAVE_XEXTPROTO_71
#include <X11/extensions/dpmsconst.h>
#else
#define DPMS_SERVER
#include <X11/extensions/dpms.h>
#endif
#include <xf86_OSproc.h>
#include "g80_type.h"

View File

@@ -30,12 +30,7 @@
#include <micmap.h>
#include <xf86cmap.h>
#include <fb.h>
#ifdef HAVE_XEXTPROTO_71
#include <X11/extensions/dpmsconst.h>
#else
#define DPMS_SERVER
#include <X11/extensions/dpms.h>
#endif
#include <xf86RandR12.h>

View File

@@ -22,13 +22,7 @@
*/
#include "config.h"
#ifdef HAVE_XEXTPROTO_71
#include <X11/extensions/dpmsconst.h>
#else
#define DPMS_SERVER
#include <X11/extensions/dpms.h>
#endif
#include <X11/Xatom.h>
#include "g80_type.h"