mirror of
https://github.com/X11Libre/xf86-video-xgi.git
synced 2026-04-14 11:04:50 +00:00
xgi: fix for XAA removal
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
18
configure.ac
18
configure.ac
@@ -119,6 +119,24 @@ if test "x$XSERVER_LIBPCIACCESS" = xyes; then
|
||||
fi
|
||||
AM_CONDITIONAL(XSERVER_LIBPCIACCESS, test "x$XSERVER_LIBPCIACCESS" = xyes)
|
||||
|
||||
AC_ARG_ENABLE(xaa,
|
||||
AS_HELP_STRING([--enable-xaa],
|
||||
[Enable legacy X Acceleration Architecture (XAA) [default=auto]]),
|
||||
[XAA="$enableval"],
|
||||
[XAA=auto])
|
||||
if test "x$XAA" != xno; then
|
||||
save_CFLAGS=$CFLAGS
|
||||
save_CPPFLAGS=$CPPFLAGS
|
||||
CFLAGS=$XORG_CFLAGS
|
||||
CPPFLAGS="$XORG_CFLAGS"
|
||||
AC_CHECK_HEADERS([xaa.h], XAA=yes, XAA=no)
|
||||
CFLAGS=$save_CFLAGS
|
||||
CPPFLAGS=$save_CPPFLAGS
|
||||
fi
|
||||
AC_MSG_CHECKING([whether to include XAA support])
|
||||
AM_CONDITIONAL(XAA, test "x$XAA" = xyes)
|
||||
AC_MSG_RESULT([$XAA])
|
||||
|
||||
AC_SUBST([moduledir])
|
||||
AC_DEFINE_UNQUOTED(XGI_RELEASE_DATE, ["$RELEASE_DATE"], [Driver release])
|
||||
DRIVER_NAME=xgi
|
||||
|
||||
@@ -169,7 +169,9 @@ extern BOOL g_bRunTimeDebug;
|
||||
#endif
|
||||
|
||||
/* Jong 01/13/2009; support EXA */
|
||||
#ifdef HAVE_XAA_H
|
||||
#define XGI_USE_XAA
|
||||
#endif
|
||||
/* #define XGI_USE_EXA */
|
||||
|
||||
#ifdef XGI_USE_XAA
|
||||
|
||||
@@ -40,11 +40,12 @@
|
||||
#include "xf86_OSproc.h"
|
||||
#include "xf86Pci.h"
|
||||
#include "xf86PciInfo.h"
|
||||
#include "xaa.h"
|
||||
#include "xaalocal.h"
|
||||
#include "xgi.h"
|
||||
#include "xgi_regs.h"
|
||||
#include "dgaproc.h"
|
||||
#ifdef HAVE_XAA_H
|
||||
#include "xaalocal.h"
|
||||
#endif
|
||||
|
||||
#ifndef NEW_DGAOPENFRAMEBUFFER
|
||||
static Bool XGI_OpenFramebuffer(ScrnInfoPtr, char **, unsigned char **,
|
||||
|
||||
@@ -78,8 +78,9 @@
|
||||
#include "xgi.h"
|
||||
#include "xf86xv.h"
|
||||
#include <X11/extensions/Xv.h>
|
||||
#include "xaa.h"
|
||||
#ifdef HAVE_XAA_H
|
||||
#include "xaalocal.h"
|
||||
#endif
|
||||
#include "dixstruct.h"
|
||||
#include "fourcc.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user