[cairo-commit] 2 commits - configure.in

Behdad Esfahbod behdad at kemper.freedesktop.org
Wed Aug 29 09:19:18 PDT 2007


 configure.in |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

New commits:
diff-tree 114b07881e8b09f97394dd4fe8f2900ee9f4c348 (from 7f726e57546dba4cdd96086515a372d18c1ee2a9)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Aug 29 12:18:16 2007 -0400

    [configure.in] Make PS backend require zlib too (#12210)
    
    The PS backend uses zlib these days.  Make it depend on zlib being available
    like PDF has been doing.

diff --git a/configure.in b/configure.in
index b8c56bd..212cace 100644
--- a/configure.in
+++ b/configure.in
@@ -535,7 +535,12 @@ fi
 
 dnl ===========================================================================
 
-CAIRO_BACKEND_ENABLE(ps, PostScript, ps, PS_SURFACE, auto, [use_ps=yes])
+CAIRO_BACKEND_ENABLE(ps, PostScript, ps, PS_SURFACE, auto, [
+    # The ps backend requires zlib.
+    use_ps=$have_libz
+    ps_NONPKGCONFIG_LIBS=-lz
+])
+
 test_ps=no
 if test "x$use_ps" = "xyes"; then
   AC_CHECK_PROG(GS, gs, gs)
diff-tree 7f726e57546dba4cdd96086515a372d18c1ee2a9 (from 93aee43690c329f43be9e7b840851267ceb17956)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Aug 29 12:15:36 2007 -0400

    [configure.in] Document version scheme

diff --git a/configure.in b/configure.in
index cda59de..b8c56bd 100644
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,9 @@
 AC_PREREQ(2.54)
 
 dnl cairo package version number, (as distinct from shared library version)
-dnl An odd micro number indicates in-progress development, (eg. from git/cvs)
+dnl An odd *minor* number indicates stable release series,
+dnl An even minor number indicates unstable series.
+dnl An odd *micro* number indicates in-progress development, (eg. from git/cvs)
 dnl An even micro number indicates a released version.
 m4_define(cairo_version_major, 1)
 m4_define(cairo_version_minor, 5)


More information about the cairo-commit mailing list