summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* configure.ac: Remove space after indent -T flag.Vinson Lee2013-01-041-1/+1
| | | | | | | | Fixes this build error on platforms not using GNU indent. indent: Command line: ``-T'' requires a parameter Signed-off-by: Vinson Lee <[email protected]>
* Support LLVM >= 3.2 on radeonsi and opencl.Johannes Obermayr2013-01-041-14/+10
| | | | | | Tom Stellard: - Backend now has same name for all LLVM versions - Add missing LLVM_VERSION_INT definition
* configure.ac: Disable compiler optimizations when --enable-debug is setEmil Velikov2012-12-121-4/+4
| | | | | | Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Dan Nicholson <[email protected]> Reviewed-by: Chad Versace <[email protected]>
* automake/gallium: attempt to fix -lrtDave Airlie2012-12-041-2/+7
| | | | | | | | | fix non-automake bits in pipe-load to. Should fix: http://bugs.freedesktop.org/57852 Signed-off-by: Dave Airlie <[email protected]>
* egl/wayland: Dispatch the event queue before get_buffersAnder Conselvan de Oliveira2012-11-301-2/+1
| | | | | | | | | | | | | | | | | When a client frame callback is executed and the client starts rendering again, the egl event queue might not have been dispatched so that the buffer release event for the previous frame hasn't been processed. In that case a third buffer is allocated, even though it would be possible to reuse the buffer that was just released. The wl_display_dispatch_queue_pending() entry point is available from wayland-client 1.0.2, so require that in configure.ac. Also, just let the pkg-config macro throw its own error, which will show what version we were looking for and failed to find. Note: This is a candidate for stable branches. Signed-off-by: Ander Conselvan de Oliveira <[email protected]>
* egl: Only enable GLX backend if X11 EGL platform is enabledKristian Høgsberg2012-11-301-4/+4
| | | | | We don't want to compile in a bunch of X11 dependencies in libEGL if we can't run EGL on X11.
* configure.ac: remove -fomit-frame-pointer from LLVM flagsMarek Olšák2012-11-291-1/+2
| | | | Reviewed-by: Tom Stellard <[email protected]>
* configure.ac: look for whole words in LLVM flags, not prefixesMarek Olšák2012-11-291-5/+6
| | | | Reviewed-by: Tom Stellard <[email protected]>
* configure.ac: consolidate stripping unwanted LLVM flagsMarek Olšák2012-11-291-3/+16
| | | | Reviewed-by: Tom Stellard <[email protected]>
* configure.ac: print LLVM flagsMarek Olšák2012-11-291-0/+6
| | | | | | to see what we're mixing with ours Reviewed-by: Tom Stellard <[email protected]>
* configure.ac: Remove -O., -g and -Wall from LLVM_C{PP,XX}FLAGS.Johannes Obermayr2012-11-281-3/+3
| | | | Signed-off-by: Marek Olšák <[email protected]>
* 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]>