[cairo-commit] cairo configure.in,1.160,1.161
Michael Emmel
commit at pdx.freedesktop.org
Thu Dec 29 07:17:03 PST 2005
- Previous message: [cairo-commit] cairo/src cairo-svg-surface.c,1.5,1.6
- Next message: [cairo-commit] cairo/src Makefile.am, 1.74,
1.75 cairo-directfb-surface.c, NONE, 1.1 cairo-directfb.h,
NONE, 1.1 cairo-features.h.in, 1.24, 1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: memmel
Update of /cvs/cairo/cairo
In directory gabe:/tmp/cvs-serv23776
Modified Files:
configure.in
Log Message:
New directfb backend for cairo includes test suite
and example to run the test is in the comment at the top of
cairo-test-directfb.c
enable with
--enable-directfb
Index: configure.in
===================================================================
RCS file: /cvs/cairo/cairo/configure.in,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -d -r1.160 -r1.161
--- configure.in 19 Dec 2005 21:59:34 -0000 1.160
+++ configure.in 29 Dec 2005 15:17:01 -0000 1.161
@@ -322,6 +322,26 @@
dnl ===========================================================================
+AC_ARG_ENABLE(directfb,
+ [ --enable-directfb Enable cairo's directfb backend],
+ [use_directfb=$enableval], [use_directfb=no])
+
+if test "x$use_directfb" = "xyes"; then
+ PKG_CHECK_MODULES(DIRECTFB, directfb, [use_directfb=yes], [
+ use_directfb="no (requires directfb http://www.directfb.org)"])
+fi
+
+AM_CONDITIONAL(CAIRO_HAS_DIRECTFB_SURFACE, test "x$use_directfb" = "xyes")
+if test "x$use_directfb" = "xyes"; then
+ DIRECTFB_SURFACE_FEATURE="#define CAIRO_HAS_DIRECTFB_SURFACE 1"
+fi
+AC_SUBST(DIRECTFB_SURFACE_FEATURE)
+
+CAIRO_CFLAGS="$CAIRO_CFLAGS $DIRECTFB_CFLAGS"
+CAIRO_LIBS="$CAIRO_LIBS $DIRECTFB_LIBS"
+
+dnl ===========================================================================
+
AC_ARG_ENABLE(freetype,
[ --disable-freetype Disable cairo's freetype font backend],
[use_freetype=$enableval], [use_freetype=yes])
@@ -733,6 +753,7 @@
echo " SVG: $use_svg"
echo " glitz: $use_glitz"
echo " BeOS: $use_beos"
+echo " DirectFB: $use_directfb"
echo ""
echo "the following font backends:"
echo " FreeType: $use_freetype"
@@ -786,3 +807,7 @@
if test x"$use_beos" = "xyes" ; then
echo "$WARNING_MESSAGE" | sed 's/@BACKEND@/BeOS/'
fi
+
+if test x"$use_directfb" == "xyes" ; then
+ echo "$WARNING_MESSAGE" | sed 's/@BACKEND@/DirectFB/'
+fi
- Previous message: [cairo-commit] cairo/src cairo-svg-surface.c,1.5,1.6
- Next message: [cairo-commit] cairo/src Makefile.am, 1.74,
1.75 cairo-directfb-surface.c, NONE, 1.1 cairo-directfb.h,
NONE, 1.1 cairo-features.h.in, 1.24, 1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list