summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2011-07-21Use new pixman formatsAndrea Canciani1-1/+1
b132fae5e843c329d1414d1a65b2e8d66b99852f introduced the usage of two new pixman formats. This requires pixman 0.22, but makes it possible to fix some TODO's left behind in gl and vg.
2011-07-14Excise xcb-drmChris Wilson1-11/+0
The experiment was at best a pyrrhic victory. Whilst it did show that you could successfully subvert cairo_xcb_surface_t and provide the rendering locally faster (than the xlib driver at that time), any performance benefits were lost in the synchronisation overheads and server-side buffer allocation. Once cairo-gl is mature, we need to look at how we can overcome these to improve client-side rendering In the meantime, cairo-xcb is no longer my playground for experimentation and is shaping up to become a stable backend... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-07-14Excise DRM-XrChris Wilson1-13/+0
I've since incorporated (nearly) all the features from cairo-drm into xf86-video-intel, making this experiment defunct. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-06-24perf: Fix build on win32Andrea Canciani1-0/+1
The performance tools build system for Win32 hasn't been maintained for some time. The makefiles are now structured as in other directories (Makefile.sources used by both Makefile.am and Makefile.win32) and some additional code hides os-specific parts.
2011-06-14Remove if's from Makefile.sourcesAndrea Canciani1-3/+2
make on win32 complains that: make[1]: Entering directory `/home/ranma42/Code/fdo/cairo/src' ../src/Makefile.sources:220: *** missing separator. Stop. Makefile.sources should not contain if's, which are aoutomake-only conditionals. The correct way to conditionally include files is to enable/disable them using C preprocessor macros.
2011-05-10gl: Fall back to dlsym() if *GetProcAddress() failsAlexandros Frantzis1-0/+11
In strictly conforming EGL implementations, eglGetProcAddress() can be used only to get extension functions, but some of the functions we want belong to core GL(ES). If the *GetProcAddress function provided by the context fails, try to get the address of the wanted GL function using standard system facilities (eg dlsym() in *nix systems). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-05-10gl: Add GLESv2 backend to build systemAlexandros Frantzis1-0/+14
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-14xlib: Fix compilation when gradient functions are not availableAndrea Canciani1-0/+9
It is not correct to rely on the version defined in render.h. The Xrender.h header is independent and might not define some functions available in RENDER 0.10. Their availability must be detected at configure time and the stubs must be defined only if the functions are not available. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=31906
2011-01-26xcb: Automatically enable the backend if the libs are availableUli Schlachter1-1/+1
It looks like the cairo-xcb backend is in a good shape and hopefully will be a supported backend for cairo 1.12.0. Let's see if this causes lots of new bugs to be uncovered. :-) Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-01-25LD_PRELOAD is supported on HurdPino Toscano1-1/+1
LD_PRELOAD is supported on Hurd. Adding Hurd to the list of supported systems makes cairo-trace available on them as well. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608492
2011-01-19Bump pixman requirements to 0.20.2 for radial gradientsAndrea Canciani1-1/+1
Pixman has PDF-like radial gradients since 0.20.0, but the implementation of the tangent circles case was not correct. This has been fixed in 0.20.2, along with some invalid operations fixes.
2010-12-15gl: Remove GLEW from the build system and the source treeAlexandros Frantzis1-21/+0
2010-11-05Fix build on gentooErik Zeek1-2/+2
The problem is probably caused by a change in the behavior of autoconf (2.67). See http://bugs.gentoo.org/336329
2010-10-12LD_PRELOAD is supported on DragonFly.Joerg Sonnenberger1-1/+1
2010-09-11Fix posix calls in configure.ac test code.Tomáš Chvátal1-4/+4
Fixes https://bugs.gentoo.org/show_bug.cgi?id=336779 Signed-off-by: Tomáš Chvátal <scarabeus@gentoo.org>
2010-09-07configure: Fix typo "(requires both --enable-xcb)"Chris Wilson1-1/+1
2010-09-06Bump pixman requirements to 0.18.4 for assorted fixes.Chris Wilson1-1/+1
2010-09-01build: Work around caching not reevaluating uncached variablesBenjamin Otte1-0/+4
This is a somewhat crude hack to ensure that GOBJECT_CFLAGS/LIBS are properly cached.
2010-09-01gobject: Fix pkgconfig file variableBenjamin Otte1-1/+1
I confused % and $. I blame it on spec files.
2010-08-29build: prefer libpng14 over older versionsMaarten Bosmans1-1/+1
Also move libpng to the front of the list, so that the default version of the system is first checked.
2010-08-10build: Fudge the build system some more so it handles extra libsBenjamin Otte1-1/+1
Add NONPKGCONFIG_EXTRA_LIBS that are only put into the generated pc file but not used when linking. This is now used to add -lcairo-gobject to the cairo-gobject.pc file.
2010-08-10gobject: Include the extra library in the pkgconfig fileBenjamin Otte1-0/+1
2010-08-08configure: Fix gobject handlingBenjamin Otte1-2/+2
1) Explicitly depend on glib, too. 2) Don't link gobject into libcairo proper (thanks Joonas for noticing).
2010-08-07Fix configuration if gobject is absentAndrea Canciani1-1/+1
Autodetect gobject and only use it if present. Its absence is not to be considered a failure since it's not required.
2010-08-07Add cairo-gobject libraryBenjamin Otte1-0/+10
This library is supposed to contain GType declarations for Cairo types. It is also meant to support gobject-introspection binding creation.
2010-07-30configure: Disable xml backend by defaultBenjamin Otte1-1/+1
We don't want to enable it by default when nobody uses it.
2010-07-30configure: Disable tee backend by defaultBenjamin Otte1-1/+1
We don't want to enable it by default when nobody uses it.
2010-07-11build: Rework pthread detection.M Joonas Pihlaja1-28/+19
Use two levels of pthread support: a minimal level used to build cairo itself, and a full level to build threaded apps which want to use cairo. The minimal level tries to use pthread stubs from libc if possible, but falls back to the full level if that's not possible. We use CFLAGS=-D_REENTRANT LIBS=-lpthread to find a real pthread library since that seems to work on every unix-like test box we can get our hands on.
2010-07-09build: fix glew includeBenjamin Otte1-4/+4
Currently wether internal glew is built is dependant on wether the tarball in use was built with internal glew or not. And that's not how it should be.
2010-07-09build: Fix C++ issues with automakeBenjamin Otte1-0/+10
This is an attempt to fix the broken situation we've been in where automake links libcairo.la with c++ because it might potentially maybe include C++ files. Those potential files only exist in Chris' throwaway backends (skia, qt) and the BeOS backend, so for 99.99% of cases, these backends are not needed and linking with c++ is overkill. Also, no one wants to have libcairo.so link to libstdc++. This patch fixes that in mutliple steps: 1) Add build infrastructure to distinguish between C and C++ backends. This is done by allowing to specify backend_sources as well as backend_cxx_sources variables in Makefile.sources. 2) Optionally build a libcairo_cxx.la noinst library This intermediate library is built for C++ backends only and therefor linked using c++. It is then linked into the final libcairo.la. This does not require c++, so the linking of libcairo.la is done with cc. This also works around various weirdnesses that the current build system exposes, where it assumes cisms when in fact using c++ semantics, like not detecting c++ properly or: https://bugzilla.redhat.com/show_bug.cgi?id=606523
2010-07-05configure: remove doltBenjamin Otte1-1/+0
libtool should be fast by now
2010-07-05configure: Use automake silent rulesBenjamin Otte1-0/+1
This replaces shave usage. If silent rules are not available, don't use them.
2010-07-05configure: remove shaveBenjamin Otte1-4/+0
2010-06-15configure: Try an alternate name for system glew.Chris Wilson1-4/+6
2010-06-15build: Enable system GLEW on non-UNIX platformsChris Wilson1-3/+9
2010-06-14gl: Added WGL context and surface.Zoxc1-0/+9
2010-05-16configure: Include PTHREAD_CFLAGS in CAIRO_LDFLAGSChris Wilson1-0/+1
Required for successful linking of our programs. I am not sure what the impact this has upon other users of Cairo yet, I think we need to export the PTHREAD_CFLAGS via cairo.pc as well.
2010-05-13build: Fix pthread detectionBenjamin Otte1-8/+6
Incorporate the pthread detection code from the autoconf archive. Should fix build on obscure archs that pretend to be UNIXy - like Mac OS X Tiger. http://www.gnu.org/software/autoconf-archive/ http://www.gnu.org/software/autoconf-archive/ax_pthread.html
2010-05-12drm: code dump, sorry.Chris Wilson1-0/+13
Lots upon lots of tiny fixes mixed in with experimental code. :(
2010-04-30[configure] Bump poppler dependency to 0.13.3Carlos Garcia Campos1-1/+1
2010-04-21configure: typo in check for xcb-shmChris Wilson1-1/+1
2010-04-15Require pixman 0.17.5Benjamin Otte1-1/+1
We want pixman_image_composite32() and pixman_image_fill_boxes()
2010-03-31configure: check -lrt for shm_open()Chris Wilson1-0/+5
OS/X includes shm_open() in libc, and fails to link if -lrt is specified. So perform the appropriate configure time magic.
2010-03-11gl: Add EGL interfaceChris Wilson1-23/+29
Enable the EGL backend for GL.
2010-03-01xcb: Update minimum required versions of libxcb.M Joonas Pihlaja1-1/+4
The new xcb surface uses xcb_writev() and xcb_take_socket() which were introduced in libxcb 1.1.92. The boilerplate in turn uses the major_code and minor_code fields in xcb_generic_error_t, which were introduced in 1.4.
2010-02-11gl: Remove eagle supportChris Wilson1-12/+0
Eagle is no more, Kristian has superseded it with true EGL support. He is so happy...
2010-01-29Silence autoconf on Mac OS XAndrea Canciani1-1/+1
Autoconf was complaining that AC_COMPILE_IFELSE and AC_RUN_IFELSE were called before AC_GNU_SOURCE. Moving AC_GNU_SOURCE right after AC_INIT solves this.
2010-01-27configure: Enable AC_SYS_LARGEFILE for drmChris Wilson1-0/+1
drm makes use of 64bit offsets when mmaping, and so we require the 64bit file interfaces. I had presumed that it would be pulled in with AC_GNU_SOURCE, but no.
2010-01-27build: Remove glitz surfaceBenjamin Otte1-38/+0
glitz is unmaintained and the GL surface is far superior anyway.
2010-01-25build: Fix pthread detectionBenjamin Otte1-2/+8
THe pthread.h detection code didn't pass -lpthread or -pthread to Cairo.