[cairo-commit] cairo/src cairo-atsui.h, 1.5, 1.6 cairo-ft.h, 1.4, 1.5 cairo-glitz.h, 1.5, 1.6 cairo-pdf.h, 1.8, 1.9 cairo-ps.h, 1.5, 1.6 cairo-quartz.h, 1.6, 1.7 cairo-win32.h, 1.10, 1.11 cairo-xcb.h, 1.6, 1.7 cairo-xlib.h, 1.15, 1.16

Carl Worth commit at pdx.freedesktop.org
Sat May 14 10:03:58 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv24121/src

Modified Files:
	cairo-atsui.h cairo-ft.h cairo-glitz.h cairo-pdf.h cairo-ps.h 
	cairo-quartz.h cairo-win32.h cairo-xcb.h cairo-xlib.h 
Log Message:

        * src/cairo-atsui.h:
        * src/cairo-ft.h:
        * src/cairo-glitz.h:
        * src/cairo-pdf.h:
        * src/cairo-ps.h:
        * src/cairo-quartz.h:
        * src/cairo-win32.h:
        * src/cairo-xcb.h:
        * src/cairo-xlib.h: Add an #error if cairo-foo.h is included when
        cairo was compiled without support for the foo backend.


Index: cairo-atsui.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-atsui.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- cairo-atsui.h	11 May 2005 22:39:26 -0000	1.5
+++ cairo-atsui.h	14 May 2005 17:03:56 -0000	1.6
@@ -48,5 +48,8 @@
 
 CAIRO_END_DECLS
 
+#else  /* CAIRO_HAS_ATSUI_FONT */
+# error Cairo was not compiled with support for the atsui font backend
 #endif /* CAIRO_HAS_ATSUI_FONT */
+
 #endif /* CAIRO_ATSUI_H */

Index: cairo-ft.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-ft.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- cairo-ft.h	7 May 2005 04:33:22 -0000	1.4
+++ cairo-ft.h	14 May 2005 17:03:56 -0000	1.5
@@ -64,5 +64,8 @@
 
 CAIRO_END_DECLS
 
+#else  /* CAIRO_HAS_FT_FONT */
+# error Cairo was not compiled with support for the freetype font backend
 #endif /* CAIRO_HAS_FT_FONT */
+
 #endif /* CAIRO_FT_H */

Index: cairo-glitz.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-glitz.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- cairo-glitz.h	7 May 2005 04:33:22 -0000	1.5
+++ cairo-glitz.h	14 May 2005 17:03:56 -0000	1.6
@@ -50,5 +50,8 @@
 
 CAIRO_END_DECLS
 
+#else  /* CAIRO_HAS_GLITZ_SURFACE */
+# error Cairo was not compiled with support for the glitz backend
 #endif /* CAIRO_HAS_GLITZ_SURFACE */
+
 #endif /* CAIRO_GLITZ_H */

Index: cairo-pdf.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-pdf.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- cairo-pdf.h	13 May 2005 16:26:20 -0000	1.8
+++ cairo-pdf.h	14 May 2005 17:03:56 -0000	1.9
@@ -64,5 +64,8 @@
 
 CAIRO_END_DECLS
 
+#else  /* CAIRO_HAS_PDF_SURFACE */
+# error Cairo was not compiled with support for the pdf backend
 #endif /* CAIRO_HAS_PDF_SURFACE */
+
 #endif /* CAIRO_PDF_H */

Index: cairo-ps.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-ps.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- cairo-ps.h	7 May 2005 04:33:22 -0000	1.5
+++ cairo-ps.h	14 May 2005 17:03:56 -0000	1.6
@@ -56,5 +56,8 @@
 
 CAIRO_END_DECLS
 
+#else  /* CAIRO_HAS_PS_SURFACE */
+# error Cairo was not compiled with support for the ps backend
 #endif /* CAIRO_HAS_PS_SURFACE */
+
 #endif /* CAIRO_PS_H */

Index: cairo-quartz.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-quartz.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cairo-quartz.h	7 May 2005 04:33:22 -0000	1.6
+++ cairo-quartz.h	14 May 2005 17:03:56 -0000	1.7
@@ -52,6 +52,9 @@
 
 CAIRO_END_DECLS
 
+#else  /* CAIRO_HAS_QUARTZ_SURFACE */
+# error Cairo was not compiled with support for the quartz backend
 #endif /* CAIRO_HAS_QUARTZ_SURFACE */
+
 #endif /* CAIRO_QUARTZ_H */
 

Index: cairo-win32.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-win32.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- cairo-win32.h	7 May 2005 04:33:22 -0000	1.10
+++ cairo-win32.h	14 May 2005 17:03:56 -0000	1.11
@@ -60,8 +60,10 @@
 double
 cairo_win32_scaled_font_get_metrics_factor (cairo_scaled_font_t *scaled_font);
 
-#endif /* CAIRO_HAS_WIN32_SURFACE */
-
 CAIRO_END_DECLS
 
+#else  /* CAIRO_HAS_WIN32_SURFACE */
+# error Cairo was not compiled with support for the win32 backend
+#endif /* CAIRO_HAS_WIN32_SURFACE */
+
 #endif /* _CAIRO_WIN32_H_ */

Index: cairo-xcb.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-xcb.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cairo-xcb.h	7 May 2005 04:33:22 -0000	1.6
+++ cairo-xcb.h	14 May 2005 17:03:56 -0000	1.7
@@ -54,5 +54,8 @@
 
 CAIRO_END_DECLS
 
+#else  /* CAIRO_HAS_XCB_SURFACE */
+# error Cairo was not compiled with support for the xcb backend
 #endif /* CAIRO_HAS_XCB_SURFACE */
+
 #endif /* CAIRO_XCB_H */

Index: cairo-xlib.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-xlib.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- cairo-xlib.h	14 May 2005 00:54:43 -0000	1.15
+++ cairo-xlib.h	14 May 2005 17:03:56 -0000	1.16
@@ -62,6 +62,9 @@
 
 CAIRO_END_DECLS
 
+#else  /* CAIRO_HAS_XLIB_SURFACE */
+# error Cairo was not compiled with support for the xlib backend
 #endif /* CAIRO_HAS_XLIB_SURFACE */
+
 #endif /* CAIRO_XLIB_H */
 




More information about the cairo-commit mailing list