Forgot to check in these for XF86DGA stuff

This commit is contained in:
rdb 2009-07-16 09:34:19 +00:00
parent 87c8772066
commit bcd844a43a
3 changed files with 21 additions and 0 deletions

View File

@ -690,6 +690,13 @@
#define X11_LIBS X11
#defer HAVE_X11 $[and $[IS_LINUX],$[libtest $[X11_LPATH],$[X11_LIBS]]]
// This defines if we have XF86DGA installed. This enables smooth
// FPS-style mouse in glxdisplay, when mouse mode M_relative is used.
#define XF86DGA_IPATH /usr/include/X11/extensions
#define XF86DGA_LPATH /usr/lib
#define XF86DGA_LIBS Xxf86dga
#defer HAVE_XF86DGA $[libtest $[XF86DGA_LPATH],$[XF86DGA_LIBS]]
// How about GLX?
#define GLX_IPATH
#define GLX_LPATH

View File

@ -146,7 +146,11 @@
//#print - Did not find SDL
//#endif
#if $[HAVE_X11]
#if $[HAVE_XF86DGA]
#print + X11, with XFree86-DGA
#else
#print + X11
#endif
#else
#print - Did not find X11
#endif
@ -382,6 +386,9 @@ $[cdefine HAVE_SDL]
/* Define if we have X11. */
$[cdefine HAVE_X11]
/* Define if we have the XFree86-DGA extension. */
$[cdefine HAVE_XF86DGA]
/* Define if we want to compile the threading code. */
$[cdefine HAVE_THREADS]

View File

@ -143,6 +143,13 @@
#define x11_framework $[X11_FRAMEWORK]
#endif
#if $[HAVE_XF86DGA]
#define xf86dga_ipath $[wildcard $[XF86DGA_IPATH]]
#define xf86dga_lpath $[wildcard $[XF86DGA_LPATH]]
#define xf86dga_cflags $[XF86DGA_CFLAGS]
#define xf86dga_libs $[XF86DGA_LIBS]
#endif
#if $[HAVE_MESA]
#define mesa_ipath $[wildcard $[MESA_IPATH]]
#define mesa_lpath $[wildcard $[MESA_LPATH]]