summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* automake: strip LLVM_CXXFLAGS and LLVM_CPPFLAGS tooMaarten Lankhorst2012-11-191-2/+2
| | | | | | | | | It seems that -NDEBUG and other flags might still be leaked through those variables, so strip those off there as well. NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Maarten Lankhorst <[email protected]>
* mesa: Import a copy of the open-addressing hash table code I wrote.Eric Anholt2012-11-121-0/+1
| | | | | | | | | | | | | Mesa's chaining hash table for object names is slow, and this should be much faster. I namespaced the functions under _mesa_*, to avoid visibility troubles that we may have had before with hash_table_* functions. v2: Move .c file to main/, const a few things, clean up loop conditions, add/extend some comments. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Chad Versace <[email protected]> Acked-by: Kenneth Graunke <[email protected]> (v1)
* automake,android: Build program/ into a helper lib (v2)Eric Anholt2012-11-121-0/+1
| | | | | | | | | | While simplifying mesa/Makefile.am, the more important feature of this commit is allowing a file with the same name to appear in both main/ and program/. v2: [chadv] Add changes to Android makefiles. Reviewed-by: Kenneth Graunke <[email protected]> (v1) Signed-off-by: Chad Versace <[email protected]> (v2)
* build: fix enable/disable language in ./configure --helpAndreas Boll2012-11-101-1/+1
| | | | | | | Based on patch from Brian Paul. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32317 Reviewed-by: Kenneth Graunke <[email protected]>
* configure.ac: require libdrm_radeon 2.4.40Marek Olšák2012-11-061-1/+1
|
* configure.ac: Prevent build of radeon llvm backend with llvm < 3.2Vincent Lejeune2012-11-021-5/+13
| | | | Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
* build: Don't cross-compile GLSL builtin compilerThierry Reding2012-11-011-4/+36
| | | | | | | | | | | | | | | | | | | | | | The builtin_compiler binary is used during the build process to generate code for the builtin GLSL functions. Since this binary needs to be run on the build host, it must not be cross-compiled. This patch fixes the build system to compile a second version of the source files and the builtin_compiler binary itself for the build system. It does so by defining the CC_FOR_BUILD and CXX_FOR_BUILD variables, which are searched for by the configure script and point to the location of native C and C++ compilers. In order for this to work properly, builtin_function.cpp is removed from BUILT_SOURCES, otherwise the build system would try to generate it before having had a chance to descend into the builtin_compiler subdirectory. With the builtin_compiler and glsl_compiler now being generated at different stages, the build instructions for glsl_compiler can be simplified a bit. Signed-off-by: Thierry Reding <[email protected]> Acked-by: Kenneth Graunke <[email protected]>
* Re-add HAVE_PTHREADS preprocessor macroMatt Turner2012-10-221-5/+5
| | | | | | Broken in commit 814345f54b. NOTE: This is a candidate for the 9.0 branch.
* gbm: Use the kms dumb ioctls for cursor instead of libkmsKristian Høgsberg2012-10-211-2/+0
| | | | | | We need to create bos suitable for cursor usage that we can map and write data into. The kms dumb ioctls is all we need for this, so drop the dependency on libkms.
* configure.ac: Fix LLVM 3.2 r600/radeonsi error messageDmitry Cherkasov2012-10-171-1/+1
| | | | | Reviewed-by: Tom Stellard <[email protected]> Signed-off-by: Dmitry Cherkasov <[email protected]>
* egl/wayland: Update to Wayland 0.99 APIKristian Høgsberg2012-10-171-1/+1
| | | | | | | | | The 0.99.0 Wayland release changes the event API to provide a thread-safe mechanism for receiving events specific to a subsystem (such as EGL) and we need to use it in the EGL platform. The Wayland protocol now also requires a commit request to make changes take effect, issue that from eglSwapBuffers.
* build: Build on Cygwin with gnu99 instead of c99.Vinson Lee2012-10-161-1/+8
| | | | | | | | The GCC c99 standard on Cygwin sets __STRICT_ANSI__ and symbols such as strdup are not available. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* build: Don't fail if libX11 isn't installedDaniel Stone2012-10-141-1/+1
| | | | | | | | | | | configure.ac would previously refuse to complete if libX11 wasn't installed, even if we'd disabled GLX and weren't building an X11 EGL platform. Make the check simply set the no_x variable that's used (but never set) immediately below for what looks like this very case. Signed-off-by: Daniel Stone <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Dan Nicholson <[email protected]>
* egl: Quit checking for a bug in old xcb when we require new xcb.Eric Anholt2012-10-091-5/+0
| | | | Reviewed-by: Chad Versace <[email protected]>
* egl: Drop xcb ifdefs by just requiring a version from this year.Eric Anholt2012-10-091-1/+1
| | | | | | | glx and gallium's xcb_dri2 usage already require this version, so this is nothing really new. Reviewed-by: Chad Versace <[email protected]>
* glx: Require xcb_dri2 for building glxdri2.c.Eric Anholt2012-10-091-1/+1
| | | | | | | I'm going to transition a bunch of the protocol to using XCB so we can stop rolling it ourselves. Reviewed-by: Chad Versace <[email protected]>
* glx: Remove the last user of -DUSE_XCB.Eric Anholt2012-10-091-4/+0
| | | | Reviewed-by: Chad Versace <[email protected]>
* Remove VAAPI support.Matt Turner2012-10-091-38/+4
| | | | | | Not working and unmaintained. Reviewed-by: Christian König <[email protected]>
* build: Remove autoconf check for signbitMatt Turner2012-10-021-7/+0
| | | | rebase failure in 7da12426f7682ffc44ae40e31d1b5712521fbb70.
* build: Don't build libdricore if not building classic driversMatt Turner2012-10-011-0/+1
|
* build: Order src/Makefile correctlyMatt Turner2012-10-011-1/+1
|
* build: Use AX_PTHREAD's HAVE_PTHREAD preprocessor definitionMatt Turner2012-10-011-6/+6
|
* build: Use PTHREAD_LIBS and PTHREAD_CFLAGSMatt Turner2012-10-011-16/+16
|
* build: Set PTHREAD_LIBS for pkgconfig files if emptyMatt Turner2012-10-011-0/+4
|
* llvmpipe: Fix build with LLVM 2.8Tom Stellard2012-10-011-1/+1
| | | | | | | | | | Commit 8d9778589f4b3a174e884338adb0fe1bdeca5eb7 added all-targets to the LLVM_COMPONENTS list, but this component does not exist with LLVM 2.8. Adding all-targets is not necessary for any drivers, and it seems to be left over from earlier versions of the commit mentioned above. Tested-by: Stéphane Marchesin <[email protected]>
* configure.ac: Use amdgpu component for LLVM 3.2Tom Stellard2012-10-011-4/+2
| | | | | The amdgpu component actually does exist. I must have been using an older version of llvm-config by accident when I first made this change.
* radeon: Support LLVM 3.2Tom Stellard2012-10-011-6/+20
| | | | | LLVM 3.2 and newer requires that the R600/SI backend be part of the LLVM tree.
* build: Link libglapi with pthreadsMatt Turner2012-09-271-4/+1
| | | | | | | | NOTE: This is a candidate for the 9.0 branch. Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=839060 https://bugs.gentoo.org/show_bug.cgi?id=435152 Reviewed-by: Adam Jackson <[email protected]>
* build: Use AX_PTHREAD to detect pthreadsMatt Turner2012-09-271-0/+11
| | | | | | NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Adam Jackson <[email protected]>
* build: remove signbit check in configure.acBrian Paul2012-09-241-7/+0
| | | | | | | We now have a fallback macro in imports.h This reverts part of 0f3ba405. Reviewed-by: Matt Turner <[email protected]>
* build: substitute X11_INCLUDES variableRobert Bragg2012-09-241-0/+1
| | | | | | | | | | There are a few automake files that reference $(X11_INCLUDES) such as src/glx/Makefile.am but configure.ac wasn't declaring the variable for substitution. This would break builds of glx if libxcb, for example, was installed in its own prefix since AM_CFLAGS wouldn't coincidentally list the needed include path in that case. Reviewed-by: Matt Turner <[email protected]>
* Use signbit() in IS_NEGATIVE and DIFFERENT_SIGNSMatt Turner2012-09-241-0/+7
| | | | | | | | | | signbit() appears to be available everywhere (even MSVC according to MSDN), so let's use it instead of open-coding some messy and confusing bit twiddling macros. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54805 Reviewed-by: Paul Berry <[email protected]> Suggested-by: Ian Romanick <[email protected]>
* build: Don't list glproto and dri2proto in pkg-config fileMatt Turner2012-09-121-2/+1
| | | | | | | | No files provided by glproto or dri2proto are needed for building something with Mesa. Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=342393 Reviewed-by: Dan Nicholson <[email protected]>
* mesa: bump version to 9.1 (devel)Andreas Boll2012-09-091-1/+1
| | | | | | | Now that branch 9.0 is created, bump the minor version in master. Reviewed-by: Kenneth Graunke <[email protected]>
* Set OSMESA_VERSION=8.Johannes Obermayr2012-09-071-4/+4
| | | | | | VERSION_NUMBER is not required anymore. So it will be removed. Reviewed-by: Adam Jackson <[email protected]>
* build: Disable building of d3d1xMatt Turner2012-09-061-5/+7
| | | | | It's broken and unmaintained, and I'm tired of seeing bug reports about it.
* configure.ac: Don't link gallium drivers with libdricoreTom Stellard2012-09-051-1/+0
| | | | Reviewed-by: Matt Turner <[email protected]>
* build: Remove left over echo from GLU removalMatt Turner2012-08-311-2/+0
|
* Remove libGLUMatt Turner2012-08-311-67/+0
| | | | | | | It's been moved to its own repository, found at http://cgit.freedesktop.org/mesa/glu/ Acked-by: Kenneth Graunke <[email protected]>
* mesa: also bump version in Makefile.am and configure.ac to 9.0Andreas Boll2012-08-311-1/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* configure.ac: require libdrm_radeon 2.6.39 for MSAAMarek Olšák2012-08-301-1/+1
|
* configure.ac: add radeonsi to --with-gallium-drivers help stringAndreas Boll2012-08-281-1/+1
| | | | | | the help string is used by ./configure --help Signed-off-by: Michel Dänzer <[email protected]>
* i965/gen6+: Add support for GL_ARB_timer_query.Eric Anholt2012-08-261-1/+1
| | | | | | Needs updated libdrm. Reviewed-by: Kenneth Graunke <[email protected]>
* gbm: Use libkms to replace DRI cursor imagesJakob Bornecrantz2012-08-261-0/+2
| | | | | | | | | | | | | | Uses libkms instead of dri image cursor. Since this is the only user of the DRI cursor and write interface we can remove cursor surfaces entirely from the DRI interface and as a consequence also from the Gallium interface as well. Tho to make everybody happy with this it would probably should add a kms_bo_write function, but that is probably wise in anyways. The only downside is that it adds a dependancy on libkms, this could how ever be replaced with the dumb_bo drm ioctl interface. Tested-by: Scott Moreau <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* automake: convert vgapiMatt Turner2012-08-241-0/+4
|
* build: Check for bison-generated file before bailing because of no bisonMatt Turner2012-08-241-1/+1
| | | | | | .y/.c was a typo. Reviewed-by: Ian Romanick <[email protected]>
* mesa/dlopen: use HAVE_DLOPEN instead of _GNU_SOURCETapani Pälli2012-08-241-2/+3
| | | | | | | | | | | | | Patches changes mesa to use 'HAVE_DLOPEN' defined by configure and Android.mk instead of _GNU_SOURCE for detecting dlopen capability. This makes dlopen to work also on Android where _GNU_SOURCE is not defined. [mattst88] v2: HAVE_DLOPEN is sufficient for including dlfcn.h, remove mingw/blrts checks around dlfcn.h inclusion. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Matt Turner <[email protected]> Signed-off-by: Tapani Pälli <[email protected]>
* build: Only add links to .so files if we're building themMatt Turner2012-08-241-0/+2
| | | | | | Xlib-GLX and OSMesa support static building. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=53962
* build: Replace OSMESA_VERSION with generic VERSION_NUMBERMatt Turner2012-08-241-3/+4
| | | | Can be used by other modules.
* build: Order AC_CONFIG_FILES listMatt Turner2012-08-241-21/+21
| | | | | Makefiles before .pc files before directories. Alphabetize files of the same type.