summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
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.
2010-01-25xcb: Make shm optionalChris Wilson1-1/+13
Trying to build xcb on a system without SHM wrapped by xcb. The right answer would be to build libxcb-shm. The quick answer is to compile out shm support.
2010-01-25configure: dri2 is only required for xcb-drmChris Wilson1-2/+5
Move the optional dependency on dri2 to the xcb-drm integration where it is required.
2010-01-22xcb: Refresh.Chris Wilson1-3/+23
Still an experimental backend, it's now a little too late to stabilise for 1.10, but this should represent a major step forward in its feature set and an attempt to catch up with all the bug fixes that have been performed on xlib. Notably not tested yet (and expected to be broken) are mixed-endian connections and low bitdepth servers (the dithering support has not been copied over for instance). However, it seems robust enough for daily use... Of particular note in this update is that the xcb surface is now capable of subverting the xlib surface through the ./configure --enable-xlib-xcb option. This replaces the xlib surface with a proxy that forwards all operations to an equivalent xcb surface whilst preserving the cairo-xlib API that is required for compatibility with the existing applications, for instance GTK+ and Mozilla. Also you can experiment with enabling a DRM bypass, though you need to be extremely foolhardy to do so.
2010-01-22configure: Globally define AC_GNU_SOURCEChris Wilson1-0/+3
We were using _GNU_SOURCE throughout the codebase, so simply define it once during configure. This is the easiest method to enable recursive mutexes using pthreads, as required in a pending patch.
2009-11-09Fix compilation on MacOS XAndrea Canciani1-1/+16
Enable "ld_preload" (DYLD_INSERT_LIBRARIES + DYLD_FORCE_FLAT_NAMESPACE) and build cairo-trace as a library instead of a module to make it work also on MacOS X.
2009-11-02build: Add -pthread to real_pthread_CFLAGSChris Wilson1-29/+22
2009-11-02sphinx: Add required pthread libsBenjamin Otte1-1/+1
Try again, this time for real hopefully.