summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2011-06-10mesa: check that flex/bison are installedBrian Paul1-0/+6
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=36651 NOTE: This is a candidate for the 7.10 branch. (cherry picked from commit de1df26b5c11a45f2b1ff2ddc7b8ec764356aa94)
2011-05-06configure: bump LIBDRM_REQUIRED to 2.4.24Alex Buell1-1/+1
Signed-off-by: Brian Paul <brianp@vmware.com>
2011-02-07Remove talloc from the make and automake build systems.Kenneth Graunke1-9/+5
(cherry picked from commit d1d8120545b0bd2f7ec48c5f03c77b967b082e04) Conflicts: src/glsl/Makefile src/mesa/Makefile src/mesa/drivers/osmesa/Makefile
2011-01-05autoconf: Fix --with-driver=xlib --enable-openvg.Chia-I Wu1-5/+1
st/egl should be enabled with --enable-openvg even the driver is xlib or osmesa. Also, GLX_DIRECT_RENDERING should not be defined because libdrm is not checked. (cherry picked from commit ada9c78c29ef11720d464211c098b740f8aa11a4)
2010-12-08configure: use llvm-config --cppflags instead of --cflagsBrian Paul1-1/+1
2010-11-15gallium/noop: no operation gallium driverJerome Glisse1-0/+13
This driver is a fake swdri driver that perform no operations beside allocation gallium structure and buffer for upper layer usage. It's purpose is to help profiling core mesa/gallium without having pipe driver overhead hidding hot spot of core code. scons file are likely inadequate i am unfamiliar with this build system. To use it simply rename is to swrast_dri.so and properly set LIBGL_DRIVERS_PATH env variable. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-11-10autoconf: Add --enable-gallium-egl.Chia-I Wu1-6/+22
This option comes handy when we want to build gallium DRI drivers but not st/egl.
2010-10-31autoconf: Tidy configure output for EGL.Chia-I Wu1-7/+9
Prefix EGL driver names by "egl_". Make it clear that EGL_CLIENT_APIS is only used by egl_gallium.
2010-10-30autoconf: st/vega requires --enable-openvg.Chia-I Wu1-0/+15
Make it a warning for now to smooth the transition.
2010-10-29autoconf: Update configuration info.Chia-I Wu1-23/+40
Output API info first. Move GLU/GLw/GLUT and EGL near driver info.
2010-10-29autoconf: Better client API selection.Chia-I Wu1-97/+180
Make autoconf decide the client APIs enabled first. Then when OpenGL and OpenGL ES are disabled, there is no need to build src/mesa/; when OpenGL is disabled, no $mesa_driver should be built. Finally, add --enable-openvg to enable OpenVG. With these changes, an OpenVG only build can be configured with $ ./configure --disable-opengl --enable-openvg src/mesa, src/glsl, and src/glx will be skipped, which saves a great deal of compilation time. And an OpenGL ES only build can be configured with $ ./configure --disable-opengl --enable-gles-overlay
2010-10-27Fix build on systems where "python" is python 3.Kenneth Graunke1-0/+3
First, it changes autoconf to use a "python2" binary when available, rather than plain "python" (which is ambiguous). Secondly, it changes the Makefiles to use $(PYTHON) $(PYTHON_FLAGS) rather than calling python directly. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Matthew William Cox <matt@mattcox.ca> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2010-09-28configure.ac: do not build xorg-r300g by defaultMarek Olšák1-2/+10
NOTE: This is a candidate for the 7.9 branch.
2010-09-28configure.ac: look for libdrm_radeon before building gallium/r300,r600Marek Olšák1-10/+18
NOTE: This is a candidate for the 7.9 branch.
2010-09-27mesa: make makedepend an hard requirementLuca Barbieri1-0/+4
Currently makedepend is used by the Mesa Makefile-based build system, but not required. Unfortunately, not having it makes dependency resolution non-existent, which is a source of subtle bugs, and is a rarely tested configuration, since all Mesa developers likely have it installed. Furthermore some idioms require dependency resolution to work at all, such as making headers depend on generated files.
2010-09-24Build r300g by defaultMarek Olšák1-4/+2
NOTE: This will go to 7.9 as well.
2010-09-19egl: Enable drm platform by default.Chia-I Wu1-0/+3
This enables EGL_MESA_drm_display for st/egl in the default setup.
2010-09-19st/egl: Rename kms backend to drm.Chia-I Wu1-1/+1
The main use of the backend is to support EGL_MESA_drm_display. drm should be a better name.
2010-09-08configure: Enable -fvisibility=hidden for g++ as wellKristian Høgsberg1-0/+7
2010-09-07Make XF86VIDMODE extension optionalJon TURNEY1-1/+10
Code in glx/glxcmds.c which uses the XF86VIDMODE extension is already guarded. Also use that guard to control inclusion of the xf86vmode.h header, and only enable that guard if the XF86VIDMODE extension is found by pkgconfig. This changes the behaviour on platforms which XF86VIDMODE exists, in that XF86VIDMODE used to be mandatory, but is now optional. Presumably other build systems are already arranging for -DXF86VIDMODE to be supplied to the complier when glxcmds.c is compiled, so are not affected by this change Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2010-09-01Cygwin: Teach mklib/minstall to properly install libraries on cygwinJon TURNEY1-10/+16
Teach mklib/minstall more about cygwin so libraries are properly installed Have mklib install the .dll into the lib/ staging directory as well Have minstall install the .dll into PREFIX/bin at the same time as installing the .dll.a link library into PREFIX/lib mklib uses a '-' rather than a '.' as the separator before the version number in library names on cygwin. Change the install globs so they match library names like that. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-08-30Don't pass -ffast-math to clang, since it ignores it and complains.Eric Anholt1-1/+4
2010-08-30Make configure work with clangnobled1-1/+15
It was mistaking clang for gcc and deciding its version was too low.
2010-08-30Add talloc to osmesa library dependenciesJon TURNEY1-2/+2
also link osmesa with C++ standard libraries, as it now contains C++ code Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2010-08-30Add talloc to dependencies for libGL built with xlib driverJon TURNEY1-2/+2
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2010-08-25r300g: rename radeong_dri.so to r300_dri.soDave Airlie1-1/+1
acked on irc by Corbin + Marek.
2010-08-22mesa: AC_SUBST the talloc libs/cflags so the ./configure results are saved.Eric Anholt1-0/+2
I had used pkg-config from the Makefile because I didn't want to screw around with the non-autoconf build, but that doesn't work because the PKG_CONFIG_PATH or TALLOC_LIBS/TALLOC_CFLAGS that people set at configure time needs to be respected and may not be present at build time. Bug #29585
2010-08-13Merge branch 'master' into glsl2Ian Romanick1-1/+1
2010-07-30configure: fix wrong variable name GLESv1_LIB_DEPSLi Peng1-1/+1
GLESv1_CM_LIB_DEPS is defined in "configs/autoconf.in", but configure.ac uses GLESv1_LIB_DEPS. Signed-off-by: Li Peng <peng.li@linux.intel.com>
2010-07-26Merge remote branch 'origin/master' into glsl2Eric Anholt1-36/+61
This pulls in multiple i965 driver fixes which will help ensure better testing coverage during development, and also gets past the conflicts of the src/mesa/shader -> src/mesa/program move. Conflicts: src/mesa/Makefile src/mesa/main/shaderapi.c src/mesa/main/shaderobj.h
2010-07-16st/egl: Fix build on FreeBSD.Chia-I Wu1-0/+1
There is no libdl on FreeBSD. Based on patch from Thinker <thinker@branda.to>, which is against 7.8. This fixes fdo bug #29093.
2010-07-16egl: Build egl_dri2 only when DRI drivers are built.Chia-I Wu1-14/+15
That is, build egl_dri2 only when --with-driver=dri is given (the default).
2010-07-16egl: Build egl_dri2 only when xcb-dri2 is available.Chia-I Wu1-4/+3
The driver does not build when xcb-dri2 is not available.
2010-07-13st/xorg: When selecting st via configure make sure to test for xorg-serverJakob Bornecrantz1-0/+1
2010-07-08egl_dri2: Support _EGL_PLATFORM_DRMKristian Høgsberg1-2/+13
This lets the egl_dri2 driver initialize on just a DRM fd.
2010-07-06st/egl: Add support for !GLX_DIRECT_RENDERING.Chia-I Wu1-1/+5
st/egl uses GLX code for DRI2 support. It should honor GLX_DIRECT_RENDERING. Also updates configure.ac to define GLX_DIRECT_RENDERING for st/egl.
2010-07-01Use GLUT_CFLAGS when building glutJohn Hein1-4/+3
Fix this build error (in MesaGLUT-7.6.1)... glut_cmap.c:23:66: error: X11/Xmu/StdCmap.h: No such file or directory ...by not preventing the cflags that pkg-config finds for glut dependencies (including 'xmu') from being used. Defining GLUT_CFLAGS before running the pkg-config prevents the cflags found by pkg-config from being used. This patch lets GLUT_CFLAGS that configure & pkg-config work so hard to set actually get used. Also make sure the generated configs/autoconf defines GLUT_CFLAGS used in (at least) src/glut/glx/Makefile. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-06-29st/egl: Reorganize targets.Chia-I Wu1-14/+8
Merge all targets into targets/egl/. The target produces egl_gallium_<HW>.so for each pipe driver and st_<API>.so for each client APIs. This enables us to further merge egl_gallium_<HW>.so into egl_gallium.so later.
2010-06-28Merge branch 'gallium-drm-driver-drescriptor'Jakob Bornecrantz1-1/+1
Conflicts: src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/radeon/drm/radeon_drm.c
2010-06-24glsl2: Replace the GLSL compiler with the glsl2 project.Eric Anholt1-1/+3
2010-06-22configure: Add galahad to default build.Corbin Simpson1-1/+1
2010-06-23gallium: Drop sw drm winsysJakob Bornecrantz1-1/+1
Last user went away
2010-06-22i915g: Create seperate option for i915g and i965gJakob Bornecrantz1-11/+26
2010-06-17egl: s/EGL_DISPLAY/EGL_PLATFORM/.Chia-I Wu1-15/+19
A platform is already used to mean a window system in EGL. No need to use a different term.
2010-06-17st/egl: Build sw/fbdev winsys for fbdev backend.Chia-I Wu1-0/+3
Target egl_fbdev_swrast.so needs sw/fbdev/libfbdev.a.
2010-06-16osmesa: always build standalone for internal symbolsDan Nicholson1-15/+3
When building OSMesa and xlib GL, the resulting OSMesa would be linked against libGL instead of the internal mesa libraries. However, when building with -fvisibility=hidden, some of the internal functions used in OSMesa could not be resolved through libGL. Instead, always build OSMesa standalone without linking against libGL. This has the advantage that OSMesa is always built the same way, but it means that disk space is wasted when libGL is installed since both libraries will contain the internal objects. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Tested-by: Tom Fogal <tfogal@alumni.unh.edu>
2010-06-11i965: Convert the binding table to streamed indirect state.Eric Anholt1-1/+1
This slightly reduces reduces cairo-gl firefox-talos-gfx runtime on my Ironlake: before: [ # ] backend test min(s) median(s) stddev. count [ 0] gl firefox-talos-gfx 38.236 38.383 0.43% 5/6 after: [ 0] gl firefox-talos-gfx 37.799 38.203 0.39% 6/6 It turns out the cost of caching these objects and looking them up in the cache again is greater than the cost of just computing the object again, particularly when the overhead of having a separate BO to pin is removed. (Those that are paying close attention will note that this is a reversal of the path I was moving the driver in a couple of years ago. The major thing that has changed is that back then all state was recomputed when we wrapped the streaming state buffer, including recompiling our precious programs. Now, we're uncaching just the objects that are cheap to compute, and retaining caching of expensive objects)
2010-06-08glew: Drop glew now that we don't need it for the progsJakob Bornecrantz1-1/+1
configs/beos | 2 +- configs/darwin | 2 +- configs/default | 4 +- configs/freebsd-dri | 2 +- configs/linux-cell | 2 +- configs/linux-dri-xcb | 2 +- configs/linux-indirect | 2 +- configure.ac | 2 +- include/GL/glew.h |14435 ------------------------------------------------ include/GL/glxew.h | 1476 ----- include/GL/wglew.h | 1247 ----- src/SConscript | 1 - src/glew/LICENSE.txt | 73 - src/glew/Makefile | 54 - src/glew/SConscript | 69 - src/glew/glew.c |14320 ----------------------------------------------- src/glew/glewinfo.c | 8441 ---------------------------- src/glew/visualinfo.c | 1173 ---- 18 files changed, 8 insertions(+), 41299 deletions(-) Revert "glew: update to version 1.5.4" This reverts commit a189b1c53b6a3b6c055cc86145c8ef48c580e9d0. Revert "glew: Include X11 headers and libraries in SCons build." This reverts commit efdd33985cb38429aeae845a556db2322957e71a. Revert "scons: Fix GLEW build on Mac OS X." This reverts commit 8f81769148eab0042ffb7192a702350275648715. Revert "scons: Use static glew library on Unices to avoid binary compatability issues" This reverts commit de22c940a1df66d13825dd15c015eafabb61a11d. Revert "glew: Update to version 1.5.2." This reverts commit aaf7ecfd816f82fef314f4f772cc53bc0ced553e. Revert "scons: Build glew on all platforms." This reverts commit 52eb3e4235cc661ab9626a704c555a5f096c628a. Revert "scons: Put glut and glew shared libraries into build/xxx/bin or lib." This reverts commit 8a318edd0838ee3343be0425019d93541b621567. Didn't revert scons/gallium.py Revert "scons: Fix glew build on MSVC." This reverts commit 14a8c9dac7ea43ad8a45052e17f7127451344e5a. Revert "scons: Build progs together with everything else." This reverts commit 7bbf7f94ea786e41ff1364cedaf7dd5c0bbf605a. Only changed src/glew/SConscript Revert "mesa: include glew headers in MesaDemos tarballs" This reverts commit c57d81ddc9ba3052ff7f6b72091accab2c2db0ae. Revert "mesa: include GLEW sources in MesaDemos tarball" This reverts commit b9e2e32daf5505896a662dc8df60104c0f51b4b9. Revert "glew: correct misspelling of glFramebufferTextureLayer" This reverts commit 1b05b5b4fecd9ac8ef34abdda6c085868016ad84. Revert "glew: fix GLEW_LIB_NAME" This reverts commit c10df26a31b6af5a720fbfd06411d580cd38a2c8. Revert "Add dummy install target for glew to fix 'make install'" This reverts commit c273dfe6a28d4bb64ce167685b4053d22db5a727. Revert "autoconf: Add GLEW needed by progs when building GLUT" This reverts commit 2977cee38e21b8e5ebba1635b101185d64ee44a9. Revert "glew: Build it as a static lib." This reverts commit fcf9353fea8343a1a86c8c6e0144c8429440c648. Revert "glew: Initial import." This reverts commit 57d00016cab9afa3e7853d9830044a8ece9541c4.
2010-06-07Remove last bits of progs/ infrastructureKristian Høgsberg1-47/+0
2010-05-31autoconf: Remove unused APIS.Chia-I Wu1-5/+0
It was used by glapi, which has been moved to mapi.