[cairo-commit] cairo ChangeLog,1.558,1.559 configure.in,1.99,1.100

Carl Worth commit at pdx.freedesktop.org
Mon May 9 08:34:59 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo
In directory gabe:/tmp/cvs-serv7222

Modified Files:
	ChangeLog configure.in 
Log Message:

        * configure.in:
        * src/cairo-features.h.in: Change cairo-features again so that
        either #if or #ifdef will work to test any feature.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo/ChangeLog,v
retrieving revision 1.558
retrieving revision 1.559
diff -u -d -r1.558 -r1.559
--- ChangeLog	7 May 2005 21:31:01 -0000	1.558
+++ ChangeLog	9 May 2005 15:34:57 -0000	1.559
@@ -1,3 +1,9 @@
+2005-05-09  Carl Worth  <cworth at cworth.org>
+
+	* configure.in:
+	* src/cairo-features.h.in: Change cairo-features again so that
+	either #if or #ifdef will work to test any feature.
+
 2005-05-07  Owen Taylor  <otaylor at redhat.com>
 
 	* doc/public/language-bindings.xml doc/public/cairo-doc.xml

Index: configure.in
===================================================================
RCS file: /cvs/cairo/cairo/configure.in,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -d -r1.99 -r1.100
--- configure.in	7 May 2005 04:33:22 -0000	1.99
+++ configure.in	9 May 2005 15:34:57 -0000	1.100
@@ -65,9 +65,7 @@
 
 AM_CONDITIONAL(CAIRO_HAS_XLIB_SURFACE, test "x$use_xlib" = "xyes")
 if test "x$use_xlib" = "xyes"; then
-  XLIB_SURFACE_FEATURE=1
-else
-  XLIB_SURFACE_FEATURE=0
+  XLIB_SURFACE_FEATURE="#define CAIRO_HAS_XLIB_SURFACE 1"
 fi
 AC_SUBST(XLIB_SURFACE_FEATURE)
 
@@ -87,10 +85,8 @@
 
 AM_CONDITIONAL(CAIRO_HAS_QUARTZ_SURFACE, test "x$use_quartz" = "xyes")
 if test "x$use_quartz" = "xyes"; then
-  QUARTZ_SURFACE_FEATURE=1
+  QUARTZ_SURFACE_FEATURE="#define CAIRO_HAS_QUARTZ_SURFACE 1"
   QUARTZ_LIBS="-Xlinker -framework -Xlinker Carbon"
-else
-  QUARTZ_SURFACE_FEATURE=0
 fi
 AC_SUBST(QUARTZ_SURFACE_FEATURE)
 CAIRO_LIBS="$CAIRO_LIBS $QUARTZ_LIBS"
@@ -108,9 +104,7 @@
 
 AM_CONDITIONAL(CAIRO_HAS_XCB_SURFACE, test "x$use_xcb" = "xyes")
 if test "x$use_xcb" = "xyes"; then
-  XCB_SURFACE_FEATURE=1
-else
-  XCB_SURFACE_FEATURE=0
+  XCB_SURFACE_FEATURE="#define CAIRO_HAS_XCB_SURFACE 1"
 fi
 AC_SUBST(XCB_SURFACE_FEATURE)
 
@@ -145,17 +139,13 @@
 
 AM_CONDITIONAL(CAIRO_HAS_WIN32_SURFACE, test "x$use_win32" = "xyes")
 if test "x$use_win32" = "xyes"; then
-  WIN32_SURFACE_FEATURE=1
-else
-  WIN32_SURFACE_FEATURE=0
+  WIN32_SURFACE_FEATURE="#define CAIRO_HAS_WIN32_SURFACE 1"
 fi
 AC_SUBST(WIN32_SURFACE_FEATURE)
 
 AM_CONDITIONAL(CAIRO_HAS_WIN32_FONT, test "x$use_win32" = "xyes")
 if test "x$use_win32" = "xyes"; then
-  WIN32_FONT_FEATURE=1
-else
-  WIN32_FONT_FEATURE=0
+  WIN32_FONT_FEATURE="#define CAIRO_HAS_WIN32_FONT 1"
 fi
 AC_SUBST(WIN32_FONT_FEATURE)
 
@@ -173,10 +163,8 @@
 
 AM_CONDITIONAL(CAIRO_HAS_PS_SURFACE, test "x$use_ps" = "xyes")
 if test "x$use_ps" = "xyes"; then
-  PS_SURFACE_FEATURE=1
+  PS_SURFACE_FEATURE="#define CAIRO_HAS_PS_SURFACE 1"
   PS_LIBS=-lz
-else
-  PS_SURFACE_FEATURE=0
 fi
 AC_SUBST(PS_SURFACE_FEATURE)
 
@@ -211,9 +199,7 @@
 
 AM_CONDITIONAL(CAIRO_HAS_PNG_FUNCTIONS, test "x$use_png" = "xyes")
 if test "x$use_png" = "xyes"; then
-  PNG_FUNCTIONS_FEATURE=1
-else
-  PNG_FUNCTIONS_FEATURE=0
+  PNG_FUNCTIONS_FEATURE="#define CAIRO_HAS_PNG_FUNCTIONS 1"
 fi
 AC_SUBST(PNG_FUNCTIONS_FEATURE)
 
@@ -236,9 +222,7 @@
 
 AM_CONDITIONAL(CAIRO_HAS_GLITZ_SURFACE, test "x$use_glitz" = "xyes")
 if test "x$use_glitz" = "xyes"; then
-  GLITZ_SURFACE_FEATURE=1
-else
-  GLITZ_SURFACE_FEATURE=0
+  GLITZ_SURFACE_FEATURE="#define CAIRO_HAS_GLITZ_SURFACE 1"
 fi
 AC_SUBST(GLITZ_SURFACE_FEATURE)
 
@@ -317,9 +301,7 @@
 
 AM_CONDITIONAL(CAIRO_HAS_FT_FONT, test "x$use_freetype" = "xyes")
 if test "x$use_freetype" = "xyes"; then
-  FT_FONT_FEATURE=1
-else
-  FT_FONT_FEATURE=0
+  FT_FONT_FEATURE="#define CAIRO_HAS_FT_FONT 1"
 fi
 AC_SUBST(FT_FONT_FEATURE)
 
@@ -336,10 +318,8 @@
 
 AM_CONDITIONAL(CAIRO_HAS_PDF_SURFACE, test "x$use_pdf" = "xyes")
 if test "x$use_pdf" = "xyes"; then
-  PDF_SURFACE_FEATURE=1
+  PDF_SURFACE_FEATURE="#define CAIRO_HAS_PDF_SURFACE 1"
   PDF_LIBS=-lz
-else
-  PDF_SURFACE_FEATURE=0
 fi
 AC_SUBST(PDF_SURFACE_FEATURE)
 
@@ -363,9 +343,7 @@
 
 AM_CONDITIONAL(CAIRO_HAS_ATSUI_FONT, test "x$use_atsui" = "xyes")
 if test "x$use_atsui" = "xyes"; then
-  ATSUI_FONT_FEATURE=1
-else
-  ATSUI_FONT_FEATURE=0
+  ATSUI_FONT_FEATURE="#define CAIRO_HAS_ATSUI_FONT 1"
 fi
 AC_SUBST(ATSUI_FONT_FEATURE)
 




More information about the cairo-commit mailing list