summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* configure.ac: Remove unused GLUT substitutions.Kenneth Graunke2012-01-061-4/+0
| | | | | | | GLUT was removed from the main tree a while ago; nothing uses these substitutions. Reviewed-by: Matt Turner <[email protected]>
* i965/gen7: Use the updated interface for SO write pointer resetting.Eric Anholt2012-01-061-1/+1
| | | | | | | | The new kernel patch I submitted makes the interface opt-in, so all batchbuffers aren't preceded by the 4 MI_LOAD_REGISTER_IMMs. This requires the updated i915_drm.h present in libdrm 2.4.30. Reviewed-by: Kenneth Graunke <[email protected]>
* Strip LLVM svn rev from `llvm-config --version` output.ojab2012-01-051-1/+1
| | | | Reviewed-by: Vinson Lee <[email protected]>
* Revert "configure.ac: remove deprecated --with-driver="Kenneth Graunke2012-01-041-0/+77
| | | | | | | | | This reverts commit 5a478976ae0bb12dd712648d5a9b988dd29c97ef. It broke the build. DRI drivers were no longer being installed by `make install` (and probably not being built at all). It appears to be due to a few small, subtle mistakes, and the fix isn't clear enough to simply commit without going through review. In the meantime, revert it.
* configure.ac: bump AC_PREREQ to 2.60Matt Turner2012-01-041-1/+1
| | | | | | All other xorg modules require at least 2.60 (released in 2006), so we may as well increase it to match. It's also doubtful anyone tests the build with 2.59 (from 2003), so it may not even work anyway.
* configure.ac: remove deprecated --with-driver=Matt Turner2012-01-041-77/+0
| | | | See 9e7a4147.
* glx: More hacking around versions of XCB that lack GLX_ARB_create_context ↵Ian Romanick2012-01-041-0/+22
| | | | | | | | | | | | | | | | support Detect whether a new enough version of XCB is installed at configure time. If it is not, don't enable the extension and don't build the unit tests. v2: Move the AM_CONDIATION outside the case-statement so that it is invoked even for non-GLX builds. This prevents build failures with osmesa, for example. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Tested-by: Robert Hooker <[email protected]>
* configure.ac: fix typo from 3ef3ba4d2Matt Turner2012-01-031-1/+1
|
* mesa: XCB is no longer optional for GLX or DRIIan Romanick2012-01-031-22/+6
| | | | | | Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Dave Airlie <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
* tests/glx: Add unit tests for GLX_ARB_create_context GLX protocolIan Romanick2012-01-021-2/+18
| | | | | | | | | | This adds a new tests directory at the top-level and some extra build infrastructure. The tests use the Google C++ Testing Framework, and they will only be built if configure can detect its availability. The tests are automatically wired-in to run with 'make check'. Signed-off-by: Ian Romanick <[email protected]> Acked-by: Chad Versace <[email protected]>
* Fix build with LLVM >= r145623.Johannes Obermayr2011-12-261-1/+1
| | | | | | | | | This is a workaround for https://bugs.freedesktop.org/show_bug.cgi?id=43861. Actually the issue which makes -pedantic failing should be solved. Reviewed-by: Michel Dänzer <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* gallium/failover: Remove the deprecated module.Kai Wasserbäch2011-11-301-1/+1
| | | | | Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: José Fonseca <[email protected]>
* i965g: Delete this driver.Kai Wasserbäch2011-11-291-14/+0
| | | | | | | Never completed, and no plans to do so. Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: José Fonseca <[email protected]>
* gallium/i965g: hide that utterly broken driver betterDaniel Vetter2011-11-281-1/+8
| | | | | | | | And warn loudly in case people want to use it. Too many tester report gpu hangs on irc and we rootcause this ... Signed-Off-by: Daniel Vetter <[email protected]> Reviewed-by: Chad Versace <[email protected]>
* st/xa, xa/vmwgfx: Generate exported symbol list from the st/xa symbols.Thomas Hellstrom2011-11-251-0/+12
| | | | | Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]>
* configure.ac: gbm_gallium requires DRI_LIB_DEPS to linkChia-I Wu2011-11-051-2/+6
| | | | | | gbm_gallium does not depend on DRI, but its build rules depend on DRI_LIB_DEPS being set. Output an error when the user enables gbm_gallium but disables DRI. This is just a workaround.
* shared-glapi: fix a linking error for SELinuxChia-I Wu2011-11-051-1/+1
| | | | | | Link with -lselinux when SELinux is enabled. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41571
* intel: Add an interface for saving/restoring the batchbuffer state.Eric Anholt2011-10-291-1/+1
| | | | | | | | | | This will be used to avoid the prepare() step in the i965 driver's state setup. Instead, we can just speculatively emit the primitive into the batchbuffer, then check if the batch is too big, rollback and flush, and replay the primitive. Reviewed-by: Kenneth Graunke <[email protected]> Acked-by: Paul Berry <[email protected]>
* radeon: Insist on libdrm being present to build.Eric Anholt2011-10-281-11/+1
| | | | | | | There's no sense in building a broken driver. Previously, there was the potential of building a DRI1-only driver that would work for DRI1 and fail on DRI2 because the newer libdrm code wasn't present. Now the radeon build system should be matching intel and nouveau.
* configure.ac: Fix equality checks in gallium st setup.Eric Anholt2011-10-281-3/+3
|
* mesa: Remove build infrastructure for r300c and r600c.Eric Anholt2011-10-281-6/+6
| | | | These drivers have been superseded by the gallium equivalents.
* gallium/targets: Add vdpau target for nouveauMaarten Lankhorst2011-10-211-1/+1
| | | | | | | | | | | Should fall back to shader based decoding (g3dvl) for now. This is probably broken on systems that support xvmc, because nouveau_video_buffer_create has no way to know for what api the buffer is created, so I think this call might need a separate argument as workaround. Signed-off-by: Maarten Lankhorst <[email protected]>
* gallium/targets: use c++ compiler for linkingMarcin Slusarz2011-10-171-1/+1
| | | | | | | | | As pointed out by Michel Dänzer, gcc -lstdc++ doesn't work on all systems, because it may require other libraries which are only pulled in implicitly by g++. And libstdc++ is available only with GNU compiler. Use c++ compiler for linking and remove redundant LDFLAGS += -lstdc++ all over the tree.
* Add an autoconf option for mangling Mesa.Tom Fogal2011-10-171-3/+24
| | | | | | | | | | In addition to setting up the flags correctly, this renames the generated libraries to ensure they get 'Mangled' in the name. This is very useful for distros and the like, where mangled Mesa and non-mangled GL libraries typically need to be installed side-by-side. Reviewed-by: Dan Nicholson <[email protected]>
* configure: Use -fno-builtin-memcmp.José Fonseca2011-10-161-0/+8
| | | | | | Issue spotted by Adam Jackson <ajax at redhat.com>. http://lists.freedesktop.org/archives/mesa-dev/2011-June/009077.html
* r600g: move all files from winsys/r600 into drivers/r600Marek Olšák2011-09-301-1/+1
| | | | | | Be sure to reconfigure after this commit. Reviewed-by: Alex Deucher <[email protected]>
* xorg/vmwgfx: Kill this target. It's not used anymore.Thomas Hellstrom2011-09-301-1/+1
| | | | | | | | | | | This fixes a build error introduced with commit "winsys/svga: Update to vmwgfx kernel module 2.1" if both the svga driver and the xorg state tracker was enabled at the same time. If needed we can re-add a minimal target for basic functionality. Signed-off-by: Thomas Hellstrom <[email protected]>
* configure.ac: unduplicate gallium directoriesMarek Olšák2011-09-291-4/+4
| | | | It may happen when two drivers share one winsys.
* st/egl: add support for null platformChia-I Wu2011-09-201-0/+3
| | | | | The backend calls null_sw_create() to create sw_winsys. And that is pretty much it...
* Remove unused APP_LIB_DEPS variableMatt Turner2011-09-191-27/+0
| | | | | | | Unused since removal of demos from the repository? Signed-off-by: Matt Turner <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* dri: Remove all DRI1 driversIan Romanick2011-08-261-13/+6
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* r600g: Hook up xorg state tracker.Michel Dänzer2011-08-261-1/+1
| | | | | | | Mostly copied from r300g. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
* r600g: first step into winsys/radeonMarek Olšák2011-08-161-1/+1
| | | | Reviewed-by: Alex Deucher <[email protected]>
* glw: Remove GLw source.Kenneth Graunke2011-08-151-76/+0
| | | | | | | | | | libGLw is an old OpenGL widget library with optional Motif support. It almost never changes and very few people actually still care about it, so we've decided to ship it separately. The new home for libGLw is: git://git.freedesktop.org/mesa/glw/ Reviewed-by: Brian Paul <[email protected]>
* egl: Native Display autodetectionBenjamin Franzke2011-08-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | EGL doesnt define howto manage different native platforms. So mesa has a builtime configurable default platform, whith non-standard envvar (EGL_PLATFORM) overwrites. This caused unneeded bugreports, when EGL_PLATFORM was forgotten. Detection is grouped into basic types of NativeDisplays (which itself needs to be detected). The final decision is based on characteristcs of these basic types: File Desciptor based platforms (fbdev): - fstat(2) to check for being a fd that belongs to a character device - check kernel subsystem (todo) Pointer to structuctures (x11, wayland, drm/gbm): - mincore(2) to check whether its valid pointer to some memory. - magic elements (e.g. pointers to exported symbols): o wayland display stores interface type pointer (first elm.) o gbm stores pointer to its constructor (first elm.) o x11 as a fallback (FIXME?) Reviewed-by: Kristian Høgsberg <[email protected]>
* configure.ac: add DLOPEN_LIBS to xlib buildMarek Olšák2011-07-281-1/+1
| | | | | | Otherwise xlib-based llvmpipe fails to link. NOTE: This is a candidate for the 7.11 branch.
* configure.ac: fix xlib-based softpipe buildMarek Olšák2011-07-281-7/+5
| | | | | | Tested-by: Jon TURNEY <[email protected]> NOTE: This is a candidate for the 7.11 branch.
* configure.ac: do not check for llvm-config if llvm is disabledMarek Olšák2011-07-251-3/+2
| | | | NOTE: This is a candidate for the 7.11 branch.
* configure: Move gbm before egl in SRC_DIRSBenjamin Franzke2011-07-251-35/+35
| | | | | | egl_dri2 built into libEGL depends on libgbm. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39515
* configure.ac: check for libdrm_radeon only when building classicMarek Olšák2011-07-211-5/+5
|
* configure.ac: Check for the respective libdrm_* when building gallium driversEmil Velikov2011-07-191-0/+3
| | | | | | | | | | | | In a rare case of building gallium only, we need to check if the required packages are available libdrm_[intel|nouveau] - gallium[i915 i965|nouveau] v2: r300g and r600g do not need libdrm_radeon Signed-off-by: Emil Velikov <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
* g3dvl: Build softpipe when needed.Younes Manton2011-07-151-0/+3
|
* g3dvl: Build the right winsys dependencies when needed.Younes Manton2011-07-151-6/+15
|
* Squashed commit of the following:José Fonseca2011-07-141-60/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 1856230d9fa61710cce3e152b8d88b1269611a73 Author: José Fonseca <[email protected]> Date: Tue Jul 12 23:41:27 2011 +0100 make: Use better var names on packaging. commit d1ae72d0bd14e820ecfe9f8f27b316f9566ceb0c Author: José Fonseca <[email protected]> Date: Tue Jul 12 23:38:21 2011 +0100 make: Apply several of Dan Nicholson's suggestions. commit f27cf8743ac9cbf4c0ad66aff0cd3f97efde97e4 Author: José Fonseca <[email protected]> Date: Sat Jul 9 14:18:20 2011 +0100 make: Put back the tar.bz2 creation rule. Removed by accident. commit 34983337f9d7db984e9f0117808274106d262110 Author: José Fonseca <[email protected]> Date: Sat Jul 9 11:59:29 2011 +0100 make: Determine tarballs contents via git ls-files. The wildcards were a mess: - lots of files for non Linux platforms missing - several files listed and archived twice Using git-ls-files ensures things are not loss when making the tarballs. commit 34a28ccbf459ed5710aafba5e7149e8291cb808c Author: José Fonseca <[email protected]> Date: Sat Jul 9 11:07:14 2011 +0100 glut: Remove GLUT source. Most distros ship freeglut, and most people don't care one vs the other, and it hasn't been really maintained. So it is better to have Mesa GLUT be revisioned and built separately from Mesa. commit 5c26a2c3c0c7e95ef853e19d12d75c4f80137e7d Author: José Fonseca <[email protected]> Date: Sat Jul 9 10:31:02 2011 +0100 Ignore the tarballs. commit 26edecac589819f0d0efe2165ab748dbc4e53394 Author: José Fonseca <[email protected]> Date: Sat Jul 9 10:30:24 2011 +0100 make: Create the Mesa-xxx-devel symlink automatically. Also actually remote the intermediate uncompressed tarballs.
* configure: allow C{,XX}FLAGS overrideMarcin Baczyński2011-07-141-0/+8
| | | | | | NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Brian Paul <[email protected]>
* configure: fix gcc version checkMarcin Baczyński2011-07-141-1/+1
| | | | | | NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Brian Paul <[email protected]>
* g3dvl: check for existense of VA API header/libsChristian König2011-07-141-1/+4
| | | | | Building the VA state tracker only works when the header/libs are available. Also add a warning that the state tracker is currently undmaintained.
* g3dvl: check for existense of VDPAU header/libsChristian König2011-07-141-2/+2
| | | | Building the VDPAU state tracker only works when the header/libs are available.
* g3dvl: check for existense of XvMC header/libsChristian König2011-07-141-2/+2
| | | | Building the XvMC state tracker only works when the header/libs are available.
* configure.ac: don't build gallium driver libs just to see if there are no errorsMarek Olšák2011-07-141-7/+18
| | | | | | I think the past are those times when the gallium interface was changed all the time. Now it is not, so there is no reason to always compile the libs if they are not needed.