summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-08-23 15:11:44 +0000
committerOwen Taylor <otaylor@redhat.com>2005-08-23 15:11:44 +0000
commitb8d610c56e77afe6e27514d8a1ce76bd9aaf8274 (patch)
treecd795cb18a9dc6bc1001f80c1ceab121889fbe0b
parent00af78735e02a0384ada84d57cd208f06bcaaadc (diff)
Disable XCB and Quartz backends unless explicitely enabled. Add a big warning message if they are enabled about bugs and API instability.
-rw-r--r--ChangeLog6
-rw-r--r--configure.in19
2 files changed, 23 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c4464aa..8d17db51 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2005-08-23 Owen Taylor <otaylor@redhat.com>
+ * configure.in: Disable XCB and Quartz backends unless
+ explicitely enabled. Add a big warning message if they
+ are enabled about bugs and API instability.
+
+2005-08-23 Owen Taylor <otaylor@redhat.com>
+
* src/cairo-pattern.c (_cairo_pattern_calc_color_at_pixel):
Rip out all the code for doing anything other than linear
interpolation between color stops, instead of doing different
diff --git a/configure.in b/configure.in
index 80bbe743..abe0d745 100644
--- a/configure.in
+++ b/configure.in
@@ -115,7 +115,7 @@ CAIRO_LIBS="$CAIRO_LIBS $XRENDER_LIBS"
AC_ARG_ENABLE(quartz,
[ --disable-quartz Disable cairo's quartz backend],
- [use_quartz=$enableval], [use_quartz=yes])
+ [use_quartz=$enableval], [use_quartz=no])
if test "x$use_quartz" = "xyes"; then
dnl There is no pkgconfig for quartz; lets do a header check
@@ -134,7 +134,7 @@ dnl ===========================================================================
AC_ARG_ENABLE(xcb,
[ --disable-xcb Disable cairo's XCB backend],
- [use_xcb=$enableval], [use_xcb=yes])
+ [use_xcb=$enableval], [use_xcb=no])
if test "x$use_xcb" = "xyes"; then
PKG_CHECK_MODULES(XCB, xcb, [use_xcb=yes], [
@@ -549,3 +549,18 @@ if test x"$use_freetype" != "xyes" && \
http://freetype.org/ http://fontconfig.org/
])
fi
+
+WARNING_MESSAGE='
+*** The @BACKEND@ backend is still under active development and
+*** is included in this release only as a preview. It does not
+*** fully work yet and incompatible changes may yet be made
+*** to @BACKEND@-backend specific API.
+'
+
+if test x"$use_xcb" == "xyes" ; then
+ echo "$WARNING_MESSAGE" | sed 's/@BACKEND@/XCB/'
+fi
+
+if test x"$use_quartz" == "xyes" ; then
+ echo "$WARNING_MESSAGE" | sed 's/@BACKEND@/Quartz/'
+fi