xfree86: require xf86dgaproto 2.0.99.1.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
2fba2eac0b
commit
6fffcd5825
|
@ -1512,10 +1512,10 @@ if test "x$XORG" = xyes; then
|
||||||
XORG_OS_PCI=$XORG_OS
|
XORG_OS_PCI=$XORG_OS
|
||||||
fi
|
fi
|
||||||
if test "x$DGA" = xauto; then
|
if test "x$DGA" = xauto; then
|
||||||
PKG_CHECK_MODULES(DGA, xf86dgaproto, [DGA=yes], [DGA=no])
|
PKG_CHECK_MODULES(DGA, [xf86dgaproto >= 2.0.99.1], [DGA=yes], [DGA=no])
|
||||||
fi
|
fi
|
||||||
if test "x$DGA" = xyes; then
|
if test "x$DGA" = xyes; then
|
||||||
XORG_MODULES="$XORG_MODULES xf86dgaproto"
|
XORG_MODULES="$XORG_MODULES [xf86dgaproto >= 2.0.99.1]"
|
||||||
PKG_CHECK_MODULES(DGA, xf86dgaproto)
|
PKG_CHECK_MODULES(DGA, xf86dgaproto)
|
||||||
AC_DEFINE(DGA, 1, [Support DGA extension])
|
AC_DEFINE(DGA, 1, [Support DGA extension])
|
||||||
AC_DEFINE(XFreeXDGA, 1, [Build XDGA support])
|
AC_DEFINE(XFreeXDGA, 1, [Build XDGA support])
|
||||||
|
|
|
@ -37,8 +37,7 @@ extern void XFree86VidModeExtensionInit(INITARGS);
|
||||||
#ifdef XFreeXDGA
|
#ifdef XFreeXDGA
|
||||||
extern void XFree86DGAExtensionInit(INITARGS);
|
extern void XFree86DGAExtensionInit(INITARGS);
|
||||||
extern void XFree86DGARegister(INITARGS);
|
extern void XFree86DGARegister(INITARGS);
|
||||||
#define _XF86DGA_SERVER_
|
#include <X11/extensions/xf86dgaproto.h>
|
||||||
#include <X11/extensions/xf86dgastr.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DPMSExtension
|
#ifdef DPMSExtension
|
||||||
|
|
|
@ -22,9 +22,7 @@
|
||||||
#include "cursorstr.h"
|
#include "cursorstr.h"
|
||||||
#include "scrnintstr.h"
|
#include "scrnintstr.h"
|
||||||
#include "servermd.h"
|
#include "servermd.h"
|
||||||
#define _XF86DGA_SERVER_
|
#include <X11/extensions/xf86dgaproto.h>
|
||||||
#include <X11/extensions/xf86dga.h>
|
|
||||||
#include <X11/extensions/xf86dgastr.h>
|
|
||||||
#include "swaprep.h"
|
#include "swaprep.h"
|
||||||
#include "dgaproc.h"
|
#include "dgaproc.h"
|
||||||
#include "xf86dgaext.h"
|
#include "xf86dgaext.h"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user