[cairo-commit] cairo/src cairo-features.h.in,1.20,1.21
Carl Worth
commit at pdx.freedesktop.org
Wed Aug 10 11:08:40 PDT 2005
Committed by: cworth
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv28539/src
Modified Files:
cairo-features.h.in
Log Message:
2005-08-10 Carl Worth <cworth at cworth.org>
Patch from Behdad Esfahbod <behdad at cs.toronto.edu>:
* configure.in: Update to use AC_INIT and AM_INIT_AUTOMAKE in
recommended ways. Add support for substituting
CAIRO_VERSION_MAJOR/MINOR/MICRO into generated headers.
* src/cairo-features.h.in: Add CAIRO_VERSION_MAJOR/MINOR/MICRO and
CAIRO_VERSION_STRING which are generated by configure.
Index: cairo-features.h.in
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-features.h.in,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- cairo-features.h.in 1 Aug 2005 20:33:47 -0000 1.20
+++ cairo-features.h.in 10 Aug 2005 18:08:38 -0000 1.21
@@ -45,6 +45,12 @@
# define CAIRO_END_DECLS
#endif
+#define CAIRO_VERSION_MAJOR @CAIRO_VERSION_MAJOR@
+#define CAIRO_VERSION_MINOR @CAIRO_VERSION_MINOR@
+#define CAIRO_VERSION_MICRO @CAIRO_VERSION_MICRO@
+
+#define CAIRO_VERSION_STRING "@CAIRO_VERSION_MAJOR at .@CAIRO_VERSION_MINOR at .@CAIRO_VERSION_MICRO@"
+
@PS_SURFACE_FEATURE@
@PDF_SURFACE_FEATURE@
More information about the cairo-commit
mailing list