xserver-multidpi/hw
Jon TURNEY a50878682c configure: Look for Khronos OpenGL spec files using pkg-config
Look for Khronos OpenGL spec files using pkg-config, rather than downloading them

Also add a --with-khronos-spec-dir=PATH configure option so XWin can be directed
where to find these files without using the khronos-spec-files package

XWin with AIGLX requires OpenGL spec files in order to generate wrapper code which:
(1) thunks from the glapi dispatch table which uses the default cdecl calling convention
to native GL functions using the stdcall calling convention.
(2) performs function address lookup for OpenGL 1.2+ functions, which are treated
as extensions and so not directly linkable.

v2: KHRONOS_SPEC_DIR is only valid when XWIN_GLX_WINDOWS is defined. Avoid 'make dist'
seeing invalid dependencies by only including rules using KHRONOS_SPEC_DIR if
XWIN_GLX_WINDOWS is defined

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2011-04-28 17:48:44 +01:00
..
dmx input: remove GetKeyboardValuatorEvents, this is now unnecessary. 2011-04-18 13:05:46 +10:00
kdrive input: remove GetKeyboardValuatorEvents, this is now unnecessary. 2011-04-18 13:05:46 +10:00
vfb man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
xfree86 configure: Let configure --enable/disable-aiglx control building of AIGLX for all DDXs 2011-04-26 10:40:56 +01:00
xnest input: remove GetKeyboardValuatorEvents, this is now unnecessary. 2011-04-18 13:05:46 +10:00
xquartz Merge remote-tracking branch 'jeremyhu/master' 2011-04-22 11:20:16 -07:00
xwin configure: Look for Khronos OpenGL spec files using pkg-config 2011-04-28 17:48:44 +01:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00