summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* configure.ac: Don't use $CLANG since it will collide with the static analyzer.Jeremy Huddleston2012-01-271-3/+3
| | | | | | | | We just prefix the $CLANG environment variable in configure.ac with acv_mesa_ Found by: tinderbox Signed-off-by: Jeremy Huddleston <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
* configure.ac: remove shared/static optionsMatt Turner2012-01-261-31/+1
| | | | now that libtool provides them.
* dri: make sure to build libdricommon.laMatt Turner2012-01-261-0/+1
|
* configure: Use WAYLAND_SCANNER_RULES only if availableBenjamin Franzke2012-01-261-1/+2
| | | | | | | | This has the drawback that when creating configure for distribution, wayland needs to be available for the packager. Also the the macros has the wayland prefix hardcoded, so we cant copy it in mesa right now.
* automake: src/egl/waylandBenjamin Franzke2012-01-261-17/+7
| | | | | | | So we can use the wayland scanner makro, which is way better than our previous runtime-pkgconfig hack. Reviewed-by: Matt Turner <[email protected]>
* st/xvmc: remove xorg-server dependencyChristian König2012-01-251-1/+1
| | | | | | | | Fixing a circular build dependency. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Christian König <[email protected]>
* Revert "Always build shared glapi"Matt Turner2012-01-241-1/+27
| | | | | | | | | | | This reverts commit adefee50d954151f76150af80207081ae3c247d9. Shared glapi was never tested with --enable-xlib-glx and turns out to cause a lot of problems. Conflicts: configure.ac
* automake: src/gbmMatt Turner2012-01-231-14/+4
| | | | | libgbm.so.1.0.0 (instead of libgbm.so.1.0) is installed now along with libgbm.so.1 (no change).
* autoconf: Fix build of dri symbols test to not manually link expat.Eric Anholt2012-01-231-0/+2
| | | | | | | | | | | AC_CHECK_LIB has this nasty behavior, like the cflags tests, of automatically putting the tested value into the global LIBS on success. This caused -lexpat to end up in LIBS, but without the --with-expat dir, so my 32-bit build on a 64 system using expat from a custom prefix could only find the system expat and fail to link on the one current consumer of the LIBS variable: the dri driver test link. Reviewed-by: Kenneth Graunke <[email protected]>
* Don't build shared dricore when unneededJon TURNEY2012-01-231-1/+1
| | | | | | | | Refine "always build shared dricore" so we don't build it if we don't need it because we aren't actually building any dri drivers because of --disable-driglx-direct Signed-off-by: Jon TURNEY <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* configure.ac: use AC_PROG_MKDIR_PMatt Turner2012-01-211-0/+1
| | | | Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=45057
* Remove src/mesa/ppcMatt Turner2012-01-211-5/+0
| | | | It didn't actually do anything except modify the GL_RENDERER string.
* automake: src/mesa/drivers/driMatt Turner2012-01-201-0/+2
|
* automake: src/mesa/drivers/dri/swrastMatt Turner2012-01-201-0/+8
|
* automake: src/mesa/drivers/dri/nouveauMatt Turner2012-01-201-6/+9
|
* automake: src/mesa/drivers/dri/r200Matt Turner2012-01-201-8/+6
|
* automake: src/mesa/drivers/dri/radeonMatt Turner2012-01-201-1/+18
|
* automake: src/mesa/drivers/dri/i915Matt Turner2012-01-201-5/+12
|
* Always build shared dricoreMatt Turner2012-01-201-21/+8
| | | | | Tested-by: Eric Anholt <[email protected]> Signed-off-by: Matt Turner <[email protected]>
* Always build shared glapiMatt Turner2012-01-201-23/+1
| | | | | | | | libglapi.so, libGL.so, libGLESv2.so, libGLESv1_CM.so must all come from the same version of Mesa or bad things may happen. Acked-by: Kenneth Graunke <[email protected]> Signed-off-by: Matt Turner <[email protected]>
* Remove -ffast-math from default CFLAGSMatt Turner2012-01-201-3/+0
| | | | | | | Fixes glsl-const-folding-01. inversesqrt(1.0) != 1.0 was evaluating as true. Signed-off-by: Matt Turner <[email protected]>
* mesa: Enable silent automake rules when available.Eric Anholt2012-01-171-0/+5
| | | | | | | | | | Finally, a quiet build for the i965 driver, at least! (Note, you can still get verbose builds at build-time by saying "make V=1") Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Chad Versace <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* i965: Convert the build to using automake.Eric Anholt2012-01-171-0/+13
| | | | | | | | | | | | | | | | | This does introduce a warning by the automake build system, that the missing-symbols test build is non-portable. That's true -- Mac OS X can't take something built as a loadable module and just link it as a library. Of course, we aren't building this on OS X at all, so it would be nice to be able to suppress it, but I haven't found a way. Still, the build is going to be much quieter than we have ever had before, so I think this is a fair tradeoff until we find a way to shut that warning up. v2: Put a link in /lib to avoid transition pains for people. Reviewed-by: Ian Romanick <[email protected]> (v1) Reviewed-by: Matt Turner <[email protected]> (v1)
* configure: Add the svga gallium driver to the default gallium driversThomas Hellstrom2012-01-121-1/+1
| | | | | Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]>
* configure.ac: use AC_PROG_SEDMatt Turner2012-01-111-1/+1
| | | | | | | | | It looks like AC_PROG_SED was added in 2.59b, and wasn't in the original 2.59 in the original 2.59. Presumably that's why, though it could've been an oversight. Reviewed-by: Kenneth Graunke <[email protected]> Signed-off-by: Matt Turner <[email protected]>
* configure.ac: don't set HAVE_GTEST twiceMatt Turner2012-01-111-1/+0
| | | | | Reviewed-by: Ian Romanick <[email protected]> Signed-off-by: Matt Turner <[email protected]>
* 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]>