head 1.81; access; symbols RELEASE_1_8_6:1.81 RELEASE_1_8_4:1.80 RELEASE_1_8_2:1.77 RELEASE_1_8_0:1.75 RELEASE_1_6_4:1.72 RELEASE_1_4_12:1.69 RELEASE_1_4_0:1.64 RELEASE_1_2_6:1.58 RELEASE_1_2_2:1.55 RELEASE_1_2_0:1.51 RELEASE_1_1_6:1.46 RELEASE_1_0_2:1.38 RELEASE_1_0_0:1.36 SNAPSHOT_0_9_0:1.32 SNAPSHOT_0_6_0:1.31 SNAPSHOT_0_5_1:1.28 SNAPSHOT_0_5_5:1.24 SNAPSHOT_0_4_0:1.15 SNAPSHOT_0_1_4:1.11; locks; strict; comment @# @; 1.81 date 2009.03.19.09.03.46; author stevech1097; state Exp; branches; next 1.80; commitid O95NcZT5ycyeECGt; 1.80 date 2009.03.19.08.48.37; author stevech1097; state Exp; branches; next 1.79; commitid VK0AYgPoEa12zCGt; 1.79 date 2009.03.03.12.40.22; author stevech1097; state Exp; branches; next 1.78; commitid PPwwCKqo95vqmAEt; 1.78 date 2009.01.15.10.06.15; author stevech1097; state Exp; branches; next 1.77; commitid yaKuhvXLOoYc1xyt; 1.77 date 2009.01.15.09.36.46; author stevech1097; state Exp; branches; next 1.76; commitid ha3bUFLElCy5Rwyt; 1.76 date 2008.12.15.07.00.18; author stevech1097; state Exp; branches; next 1.75; commitid i2DBl0gLaKWcZwut; 1.75 date 2008.12.15.06.38.03; author stevech1097; state Exp; branches; next 1.74; commitid Aki7NXXemokzRwut; 1.74 date 2008.12.10.06.50.05; author stevech1097; state Exp; branches; next 1.73; commitid XZEZsQ38uXVE5Ttt; 1.73 date 2008.08.09.03.32.19; author stevech1097; state Exp; branches; next 1.72; commitid xhN1KM6NZJ0XW3et; 1.72 date 2008.07.17.04.15.07; author stevech1097; state Exp; branches; next 1.71; commitid pQBZfPbTOCAsV6bt; 1.71 date 2008.05.12.12.06.37; author stevech1097; state Exp; branches; next 1.70; commitid 6vPFiN5bxFgKEF2t; 1.70 date 2007.12.13.06.45.27; author stevech1097; state Exp; branches; next 1.69; commitid DskAyZJuJ28tJeJs; 1.69 date 2007.12.13.06.09.52; author stevech1097; state Exp; branches; next 1.68; commitid 7rAnUjiYelRhxeJs; 1.68 date 2007.12.13.05.29.33; author stevech1097; state Exp; branches; next 1.67; commitid DyqdsqSHy1jsjeJs; 1.67 date 2007.12.12.12.14.19; author stevech1097; state Exp; branches; next 1.66; commitid 4iKY6dFfT9KiA8Js; 1.66 date 2007.04.06.08.38.44; author stevech1097; state Exp; branches; next 1.65; 1.65 date 2007.03.14.09.47.35; author stevech1097; state Exp; branches; next 1.64; 1.64 date 2007.03.14.09.18.16; author stevech1097; state Exp; branches; next 1.63; 1.63 date 2007.01.21.13.49.30; author stevech1097; state Exp; branches; next 1.62; 1.62 date 2007.01.17.05.40.01; author stevech1097; state Exp; branches; next 1.61; 1.61 date 2006.12.27.10.32.20; author stevech1097; state Exp; branches; next 1.60; 1.60 date 2006.12.21.11.35.35; author stevech1097; state Exp; branches; next 1.59; 1.59 date 2006.11.27.02.00.05; author stevech1097; state Exp; branches; next 1.58; 1.58 date 2006.11.27.01.44.09; author stevech1097; state Exp; branches; next 1.57; 1.57 date 2006.11.27.01.17.42; author stevech1097; state Exp; branches; next 1.56; 1.56 date 2006.08.21.03.32.28; author stevech1097; state Exp; branches; next 1.55; 1.55 date 2006.08.21.03.04.21; author stevech1097; state Exp; branches; next 1.54; 1.54 date 2006.08.16.14.30.42; author stevech1097; state Exp; branches; next 1.53; 1.53 date 2006.08.04.02.24.21; author stevech1097; state Exp; branches; next 1.52; 1.52 date 2006.07.03.04.06.43; author stevech1097; state Exp; branches; next 1.51; 1.51 date 2006.07.03.03.46.35; author stevech1097; state Exp; branches; next 1.50; 1.50 date 2006.07.01.08.05.52; author stevech1097; state Exp; branches; next 1.49; 1.49 date 2006.06.26.13.59.34; author stevech1097; state Exp; branches; next 1.48; 1.48 date 2006.06.25.05.54.33; author stevech1097; state Exp; branches; next 1.47; 1.47 date 2006.05.29.06.20.52; author stevech1097; state Exp; branches; next 1.46; 1.46 date 2006.05.29.05.37.34; author stevech1097; state Exp; branches; next 1.45; 1.45 date 2006.05.15.14.24.38; author stevech1097; state Exp; branches; next 1.44; 1.44 date 2006.05.07.02.48.54; author stevech1097; state Exp; branches; next 1.43; 1.43 date 2006.04.29.14.41.31; author stevech1097; state Exp; branches; next 1.42; 1.42 date 2006.04.29.02.29.24; author stevech1097; state Exp; branches; next 1.41; 1.41 date 2005.11.10.00.45.14; author stevech1097; state Exp; branches; next 1.40; commitid ea0437298154567; 1.40 date 2005.10.17.02.31.30; author stevech1097; state Exp; branches; next 1.39; commitid 1cfb43530cfa4567; 1.39 date 2005.10.11.06.54.32; author stevech1097; state Exp; branches; next 1.38; commitid 610f434b61a44567; 1.38 date 2005.10.11.06.49.18; author stevech1097; state Exp; branches; next 1.37; commitid 5e5c434b606c4567; 1.37 date 2005.08.31.23.59.29; author stevech1097; state Exp; branches; next 1.36; commitid 54024316445d4567; 1.36 date 2005.08.30.02.53.05; author stevech1097; state Exp; branches; next 1.35; commitid 73db4313ca0d4567; 1.35 date 2005.08.25.11.48.09; author stevech1097; state Exp; branches; next 1.34; commitid 587430daff44567; 1.34 date 2005.08.22.06.37.37; author stevech1097; state Exp; branches; next 1.33; commitid bad430972ac4567; 1.33 date 2005.08.12.07.23.31; author stevech1097; state Exp; branches; next 1.32; commitid 763342fc4e6e4567; 1.32 date 2005.08.10.16.08.45; author stevech1097; state Exp; branches; next 1.31; commitid 3ff642fa268a4567; 1.31 date 2005.08.01.15.54.21; author stevech1097; state Exp; branches; next 1.30; commitid 516942ee45a94567; 1.30 date 2005.07.29.21.46.55; author dajobe; state Exp; branches; next 1.29; commitid 434742eaa3cf4567; 1.29 date 2005.07.22.10.15.59; author stevech1097; state Exp; branches; next 1.28; commitid 431842e0c75b4567; 1.28 date 2005.06.22.01.29.13; author stevech1097; state Exp; branches; next 1.27; commitid 50a742b8bee44567; 1.27 date 2005.06.16.01.24.30; author stevech1097; state Exp; branches; next 1.26; commitid 3a042b0d4cb4567; 1.26 date 2005.05.29.11.11.48; author stevech1097; state Exp; branches; next 1.25; commitid f5d4299a36f4567; 1.25 date 2005.05.27.03.02.50; author stevech1097; state Exp; branches; next 1.24; commitid 63c542968dd74567; 1.24 date 2005.05.20.11.07.31; author stevech1097; state Exp; branches; next 1.23; commitid 4ab7428dc4ef4567; 1.23 date 2005.05.20.08.57.44; author stevech1097; state Exp; branches; next 1.22; commitid 4578428da6824567; 1.22 date 2005.05.16.01.04.34; author stevech1097; state Exp; branches; next 1.21; commitid 668d4287f19d4567; 1.21 date 2005.05.10.00.55.39; author stevech1097; state Exp; branches; next 1.20; commitid 69ed428006864567; 1.20 date 2005.05.09.00.52.46; author stevech1097; state Exp; branches; next 1.19; commitid 6ba6427eb4584567; 1.19 date 2005.05.02.02.25.51; author stevech1097; state Exp; branches; next 1.18; commitid 161742758fab4567; 1.18 date 2005.04.08.15.13.26; author dajobe; state Exp; branches; next 1.17; 1.17 date 2005.04.04.13.51.18; author stevech1097; state Exp; branches; next 1.16; 1.16 date 2005.03.18.15.27.45; author stevech1097; state Exp; branches; next 1.15; 1.15 date 2005.03.10.09.18.09; author stevech1097; state Exp; branches; next 1.14; 1.14 date 2005.03.02.13.12.56; author stevech1097; state Exp; branches; next 1.13; 1.13 date 2005.02.16.02.26.29; author stevech1097; state Exp; branches; next 1.12; 1.12 date 2005.01.26.08.13.34; author stevech1097; state Exp; branches; next 1.11; 1.11 date 2005.01.12.07.11.52; author stevech1097; state Exp; branches; next 1.10; 1.10 date 2004.12.27.23.54.57; author stevech1097; state Exp; branches; next 1.9; 1.9 date 2004.12.14.07.38.22; author stevech1097; state Exp; branches; next 1.8; 1.8 date 2004.12.10.15.16.40; author stevech1097; state Exp; branches; next 1.7; 1.7 date 2004.11.28.08.56.59; author stevech1097; state Exp; branches; next 1.6; 1.6 date 2004.11.24.21.00.08; author cworth; state Exp; branches; next 1.5; 1.5 date 2004.11.14.03.22.18; author stevech1097; state Exp; branches; next 1.4; 1.4 date 2004.11.13.14.14.17; author stevech1097; state Exp; branches; next 1.3; 1.3 date 2004.11.09.13.49.34; author stevech1097; state Exp; branches; next 1.2; 1.2 date 2004.11.01.16.29.45; author cworth; state Exp; branches; next 1.1; 1.1 date 2003.09.17.14.34.02; author james; state Exp; branches; next ; desc @@ 1.81 log @'SC' @ text @-*- mode: m4 -*- AC_PREREQ(2.59) # the pycairo version number m4_define(pycairo_version_major, 1) m4_define(pycairo_version_minor, 8) m4_define(pycairo_version_micro, 5) m4_define(pycairo_version, pycairo_version_major.pycairo_version_minor.pycairo_version_micro) # versions of packages we require m4_define(cairo_required_version, 1.8.4) AC_INIT([pycairo], [pycairo_version], [http://bugs.freedesktop.org/enter_bug.cgi?product=pycairo]) AC_SUBST(PYCAIRO_VERSION_MAJOR, [pycairo_version_major]) AC_SUBST(PYCAIRO_VERSION_MINOR, [pycairo_version_minor]) AC_SUBST(PYCAIRO_VERSION_MICRO, [pycairo_version_micro]) AC_SUBST(VERSION_INFO, [pycairo_version_major,pycairo_version_minor,pycairo_version_micro]) AC_CONFIG_SRCDIR([cairo/pycairo.h]) AC_CONFIG_HEADERS(config.h) AM_INIT_AUTOMAKE([1.9.6 -Wall]) # Options --- # put the ACLOCAL flags in the makefile ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" # Checks for programs --- AC_DISABLE_STATIC AC_PROG_LIBTOOL dnl required version (1.4) DON'T REMOVE - used by autogen.sh AM_PATH_PYTHON(2.6) # Checks for libraries --- # get rid of the -export-dynamic stuff from the configure flags ... export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` # cairo PKG_CHECK_MODULES(CAIRO, cairo >= cairo_required_version) if test -n "$export_dynamic"; then CAIRO_LIBS=`echo $CAIRO_LIBS | sed -e "s/$export_dynamic//"` fi # Checks for header files --- AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)]) # checks for types and compilers --- AC_C_CONST # add gcc debugging options changequote(,)dnl if test "x$GCC" = xyes; then case " $CFLAGS " in *[\ \ ]-std=c99[\ \ ]*) ;; *[\ \ ]-std=c9x[\ \ ]*) ;; *) CFLAGS="$CFLAGS -std=c99" ;; esac case " $CFLAGS " in *[\ \ ]-Wall[\ \ ]*) ;; *) CFLAGS="$CFLAGS -Wall" ;; esac fi changequote([,])dnl case $GCC in yes) # code using Py_True, Py_False will receive # "warning: dereferencing type-punned pointer will break strict-aliasing rules" # -fno-strict-aliasing (as used in Python build) switches warnings off AC_MSG_CHECKING(whether $CC accepts -fno-strict-aliasing) ac_save_cc="$CC" CC="$CC -fno-strict-aliasing" AC_TRY_RUN([int main() { return 0; }], ac_cv_no_strict_aliasing_ok=yes, ac_cv_no_strict_aliasing_ok=no, ac_cv_no_strict_aliasing_ok=no) CC="$ac_save_cc" AC_MSG_RESULT($ac_cv_no_strict_aliasing_ok) if test $ac_cv_no_strict_aliasing_ok = yes then CFLAGS="$CFLAGS -fno-strict-aliasing" fi esac # Checks for library functions --- # Checks for system services --- # Output --- AC_CONFIG_FILES([ Makefile pycairo.pc cairo/Makefile doc/Makefile examples/Makefile test/Makefile ]) AC_OUTPUT echo " Configuration: Installation prefix ${prefix} " @ 1.80 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 4) @ 1.79 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 3) @ 1.78 log @'SC' @ text @d11 1 a11 1 m4_define(cairo_required_version, 1.8.2) d37 1 a37 1 AM_PATH_PYTHON(2.5) @ 1.77 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 2) @ 1.76 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 1) d11 1 a11 1 m4_define(cairo_required_version, 1.8.0) @ 1.75 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 0) @ 1.74 log @'SC' @ text @d6 2 a7 2 m4_define(pycairo_version_minor, 6) m4_define(pycairo_version_micro, 5) @ 1.73 log @'SC' @ text @d11 1 a11 1 m4_define(cairo_required_version, 1.6.4) d26 1 a26 1 AM_INIT_AUTOMAKE([1.9 -Wall]) d100 1 @ 1.72 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 4) @ 1.71 log @'SC' @ text @d6 2 a7 2 m4_define(pycairo_version_minor, 4) m4_define(pycairo_version_micro, 13) @ 1.70 log @'SC' @ text @d11 1 a11 1 m4_define(cairo_required_version, 1.4.12) d37 1 a37 1 AM_PATH_PYTHON(2.4) @ 1.69 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 12) @ 1.68 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 1) @ 1.67 log @'SC' @ text @d11 1 a11 1 m4_define(cairo_required_version, 1.4.0) @ 1.66 log @'SC' @ text @d37 1 a37 1 AM_PATH_PYTHON(2.3) @ 1.65 log @'SC' @ text @d35 1 a35 1 AC_PROG_LIBTOOL @ 1.64 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 0) @ 1.63 log @'SC' @ text @d6 2 a7 2 m4_define(pycairo_version_minor, 3) m4_define(pycairo_version_micro, 11) d11 1 a11 1 m4_define(cairo_required_version, 1.3.12) @ 1.62 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 1) d11 1 a11 1 m4_define(cairo_required_version, 1.3.2) @ 1.61 log @'SC' @ text @a52 11 # Numeric Python save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" AC_CHECK_HEADER([Numeric/arrayobject.h], [have_numpy=yes], [have_numpy=no], [#include ]) CPPFLAGS="$save_CPPFLAGS" if test x$have_numpy = xyes; then AC_DEFINE(HAVE_NUMPY, [1], [Define to 1 if Numeric python is found]) fi a108 3 Additional modules: build Numeric support? ${have_numpy} @ 1.60 log @'SC' @ text @d6 2 a7 2 m4_define(pycairo_version_minor, 2) m4_define(pycairo_version_micro, 7) d11 1 a11 1 m4_define(cairo_required_version, 1.2.6) @ 1.59 log @'SC' @ text @a11 2 m4_define(gtk_required_version, 2.2.0) m4_define(pygtk_required_version, 2.2.0) a28 5 AC_ARG_WITH([pygtk], AS_HELP_STRING([--with-pygtk], [support pygtk [default=yes]]), [], [with_pygtk="yes"]) a49 21 # cairo + cairo-xlib + gtk + pygtk if test x"$with_pygtk" = xyes; then # was cairo compiled with cairo-xlib enabled? save_LIBS="$LIBS" LIBS="$CAIRO_LIBS" AC_CHECK_LIB([cairo], [cairo_xlib_surface_create], [], [with_pygtk=no]) LIBS="$save_LIBS" fi if test x"$with_pygtk" = xyes; then PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= gtk_required_version pygtk-2.0 >= pygtk_required_version pygtk-2.0 < 2.7.0], [], [with_pygtk=no]) if test -n "$export_dynamic"; then GTK_LIBS=`echo $GTK_LIBS | sed -e "s/$export_dynamic//"` fi fi AM_CONDITIONAL(WITH_PYGTK, test x$with_pygtk = xyes) a121 1 build cairo.gtk? ${with_pygtk} @ 1.58 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 6) @ 1.57 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 3) d11 1 a11 1 m4_define(cairo_required_version, 1.2.2) @ 1.56 log @'SC' @ text @d31 2 a32 2 AC_ARG_WITH(pygtk, [AC_HELP_STRING([--with-pygtk], [support pygtk [default=yes]])], @ 1.55 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 2) @ 1.54 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 1) d11 1 a11 1 m4_define(cairo_required_version, 1.2.0) @ 1.53 log @'SC' @ text @d11 3 a13 3 m4_define(cairo_required_version, 1.2.0) m4_define(gtk_required_version, 2.2.0) m4_define(pygtk_required_version, 2.2.0) a137 1 cairo/__init__.py @ 1.52 log @'SC' @ text @a13 1 m4_define(libsvg_cairo_required_version, 0.1.6) a77 9 # is libsvg-cairo installed? PKG_CHECK_MODULES(LIBSVG_CAIRO, libsvg-cairo >= libsvg_cairo_required_version, [have_libsvg_cairo=yes],[have_libsvg_cairo=no]) if test -n "$export_dynamic"; then LIBSVG_CAIRO_LIBS=`echo $LIBSVG_CAIRO_LIBS | sed -e "s/$export_dynamic//"` fi AM_CONDITIONAL(HAVE_LIBSVG_CAIRO, test x$have_libsvg_cairo = xyes) a151 1 build cairo.svg? ${have_libsvg_cairo} @ 1.51 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 0) @ 1.50 log @'SC' @ text @d6 2 a7 2 m4_define(pycairo_version_minor, 1) m4_define(pycairo_version_micro, 7) @ 1.49 log @'SC' @ text @d11 1 a11 1 m4_define(cairo_required_version, 1.1.8) d31 1 a31 2 # Options d41 1 a41 2 # Checks for programs d47 1 a47 2 # Checks for libraries a78 11 # Numeric Python save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" AC_CHECK_HEADER([Numeric/arrayobject.h], [have_numpy=yes], [have_numpy=no], [#include ]) CPPFLAGS="$save_CPPFLAGS" if test x$have_numpy = xyes; then AC_DEFINE(HAVE_NUMPY, [1], [Define to 1 if Numeric python is found]) fi d88 1 a88 2 # Checks for header files d91 10 d102 1 a102 1 # checks for types and compilers d141 2 d144 1 a144 3 # Checks for library functions @ 1.48 log @'SC' @ text @a148 8 # cairo has cairo_image_surface_get_data() patch? save_LIBS="$LIBS" LIBS="$CAIRO_LIBS" AC_CHECK_LIB([cairo], [cairo_image_surface_get_data], [AC_DEFINE(HAVE_GETDATA, [1], [Define to 1 if get_data patch is found])], []) LIBS="$save_LIBS" @ 1.47 log @'SC' @ text @d11 1 a11 1 m4_define(cairo_required_version, 1.1.6) @ 1.46 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 6) @ 1.45 log @'SC' @ text @d6 2 a7 2 m4_define(pycairo_version_minor, 0) m4_define(pycairo_version_micro, 3) @ 1.44 log @'SC' @ text @d11 1 a11 1 m4_define(cairo_required_version, 1.1.4) @ 1.43 log @'SC' @ text @d11 1 a11 1 m4_define(cairo_required_version, 1.1.2) @ 1.42 log @'SC' @ text @d2 1 a2 1 AC_PREREQ(2.54) d29 2 a30 1 AM_INIT_AUTOMAKE([1.7 -Wall]) d42 2 d49 2 a50 1 AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)]) d102 7 a108 7 # cairo has cairo_image_surface_get_data() patch? save_LIBS="$LIBS" LIBS="$CAIRO_LIBS" AC_CHECK_LIB([cairo], [cairo_image_surface_get_data], [AC_DEFINE(HAVE_GETDATA, [1], [Define to 1 if get_data patch is found])], []) LIBS="$save_LIBS" d146 12 @ 1.41 log @'SC' @ text @d11 1 a11 1 m4_define(cairo_required_version, 1.0.2) @ 1.40 log @'SC' @ text @d18 1 a18 1 [http://bugs.freedesktop.org/enter_bug.cgi?product=cairo]) a87 1 AM_CONDITIONAL(HAVE_NUMPY, test x$have_numpy = xyes) @ 1.39 log @'SC' @ text @d99 7 @ 1.38 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 2) @ 1.37 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 1) d11 1 a11 1 m4_define(cairo_required_version, 1.0.0) @ 1.36 log @'SC' @ text @d7 1 a7 1 m4_define(pycairo_version_micro, 0) @ 1.35 log @'SC' @ text @d5 4 a8 4 m4_define(pycairo_major_version, 0) m4_define(pycairo_minor_version, 9) m4_define(pycairo_micro_version, 0) m4_define(pycairo_version, pycairo_major_version.pycairo_minor_version.pycairo_micro_version) d16 9 a24 6 AC_INIT(pycairo, pycairo_version) AC_DEFINE(PYCAIRO_MAJOR_VERSION, pycairo_major_version,[Pycairo major version]) AC_DEFINE(PYCAIRO_MINOR_VERSION, pycairo_minor_version,[Pycairo minor version]) AC_DEFINE(PYCAIRO_MICRO_VERSION, pycairo_micro_version,[Pycairo macro version]) AC_SUBST(VERSION_INFO, [pycairo_major_version,pycairo_minor_version,pycairo_micro_version]) d118 1 a118 1 # code using Py_True, Py_False will receive @ 1.34 log @'SC' @ text @d11 1 a11 1 m4_define(cairo_required_version, 0.9.3) @ 1.33 log @'SC' @ text @d11 1 a11 1 m4_define(cairo_required_version, 0.9.0) @ 1.32 log @'SC' @ text @d66 2 a67 1 pygtk-2.0 >= pygtk_required_version], a74 11 # Define HAVE_GTK28 if gtk+ > 2.7 is found if test x"$with_pygtk" = xyes; then AC_MSG_CHECKING([for gtk+ 2.8 API]) if $PKG_CONFIG --modversion "gtk+-2.0 >= 2.7.0" > /dev/null 2>&1; then AC_MSG_RESULT([found]) AC_DEFINE([HAVE_GTK28], [1], [Define to 1 if gtk+ 2.8 API is found]) else AC_MSG_RESULT([not found]) fi fi @ 1.31 log @'SC' @ text @d6 1 a6 1 m4_define(pycairo_minor_version, 6) d11 1 a11 1 m4_define(cairo_required_version, 0.6.0) @ 1.30 log @2005-07-29 Dave Beckett * configure.ac: Really add test/Makefile to AC_CONFIG_FILES> @ text @d6 2 a7 2 m4_define(pycairo_minor_version, 5) m4_define(pycairo_micro_version, 1) d11 1 a11 1 m4_define(cairo_required_version, 0.5.1) @ 1.29 log @'SC' @ text @d149 1 @ 1.28 log @SC @ text @d12 2 a13 2 m4_define(gtk_required_version, 2.0.0) m4_define(pygtk_required_version, 1.99.16) @ 1.27 log @SC @ text @d7 1 a7 1 m4_define(pycairo_micro_version, 0) d11 1 a11 1 m4_define(cairo_required_version, 0.5.0) @ 1.26 log @SC @ text @d14 1 a14 1 m4_define(libsvg_cairo_required_version, 0.1.5) @ 1.25 log @SC @ text @d30 2 a31 2 [AC_HELP_STRING([--with-pygtk], [support pygtk [default=yes]])],, d54 11 a64 5 # cairo + gtk + pygtk if test x"$with_pygtk" = xno; then with_pygtk=false else PKG_CHECK_MODULES(CAIRO_GTK, d67 1 a67 1 [with_pygtk=true], [with_pygtk=false]) d69 1 a69 1 CAIRO_GTK_LIBS=`echo $CAIRO_GTK_LIBS | sed -e "s/$export_dynamic//"` d72 1 a72 1 AM_CONDITIONAL(WITH_PYGTK, $with_pygtk) d75 8 a82 6 AC_MSG_CHECKING([for gtk+ 2.8 API]) if $PKG_CONFIG --modversion "gtk+-2.0 >= 2.7.0" > /dev/null 2>&1; then AC_MSG_RESULT([found]) AC_DEFINE([HAVE_GTK28], [], [Defined if gtk+ 2.8 API is found]) else AC_MSG_RESULT([not found]) d89 1 a89 1 [have_numpy=true], [have_numpy=false], d92 2 a93 2 if $have_numpy; then AC_DEFINE(HAVE_NUMPY,,[whether to include numeric python support]) d95 1 a95 1 AM_CONDITIONAL(HAVE_NUMPY, $have_numpy) d98 1 a98 1 PKG_CHECK_MODULES(LIBSVG_CAIRO, dnl d100 1 a100 1 [have_libsvg_cairo=true],[have_libsvg_cairo=false]) d104 1 a104 1 AM_CONDITIONAL(HAVE_LIBSVG_CAIRO, $have_libsvg_cairo) d158 2 a159 2 build cairo.gtk ? ${with_pygtk} build cairo.svg ? ${have_libsvg_cairo} @ 1.24 log @SC @ text @d68 9 @ 1.23 log @SC @ text @d11 1 a11 1 m4_define(cairo_required_version, 0.4.0) @ 1.22 log @SC @ text @d6 1 a6 1 m4_define(pycairo_minor_version, 4) @ 1.21 log @SC @ text @d126 8 a133 6 AC_CONFIG_FILES( Makefile pycairo.pc cairo/__init__.py cairo/Makefile examples/Makefile) @ 1.20 log @SC @ text @d94 3 a96 2 *[\ \ ]-Wall[\ \ ]*) ;; *) CFLAGS="$CFLAGS -Wall" ;; d100 2 a101 2 *[\ \ ]-std=c9x[\ \ ]*) ;; *) CFLAGS="$CFLAGS -std=c9x" ;; @ 1.19 log @SC @ text @a138 1 build cairo.numpy ? ${have_numpy} d140 1 @ 1.18 log @2005-04-08 Dave Beckett * configure.ac: Remove 'dnl' in middle of PKG_CHECK_MODULES call which causes configure-time errors. @ text @d127 1 @ 1.17 log @SC 2005/04/04 @ text @d59 1 a59 1 [gtk+-2.0 >= gtk_required_version dnl @ 1.16 log @SC 2005/03/18 @ text @d41 1 a41 1 AM_PATH_PYTHON(2.2) @ 1.15 log @SC 2005/03/10 @ text @d90 1 a90 1 # add debugging options ... d105 20 @ 1.14 log @SC 2005/03/02 @ text @d6 2 a7 2 m4_define(pycairo_minor_version, 1) m4_define(pycairo_micro_version, 4) d11 1 a11 1 m4_define(cairo_required_version, 0.3.0) @ 1.13 log @SC 16/02/2005 @ text @d14 1 a14 1 m4_define(libsvg_cairo_required_version, 0.1.4) @ 1.12 log @SC 2005/01/26 @ text @d108 2 a109 1 cairo/Makefile) @ 1.11 log @SC 2005/01/12 @ text @d11 1 a11 1 m4_define(cairo_required_version, 0.2.0) @ 1.10 log @SC 28/12/2004 @ text @d7 1 a7 1 m4_define(pycairo_micro_version, 3) @ 1.9 log @14/12/2004 @ text @d28 7 a37 1 d55 10 a64 6 PKG_CHECK_MODULES(CAIRO_GTK, dnl gtk+-2.0 >= gtk_required_version dnl pygtk-2.0 >= pygtk_required_version, [have_gtk=true],[have_gtk=false]) if test -n "$export_dynamic"; then CAIRO_GTK_LIBS=`echo $CAIRO_GTK_LIBS | sed -e "s/$export_dynamic//"` d66 1 a66 1 AM_CONDITIONAL(HAVE_GTK, $have_gtk) d68 1 a68 1 # checks to see if Numeric Python is installed. d80 1 a80 1 dnl is libsvg-cairo installed? d116 1 a116 1 build cairo.gtk ? ${have_gtk} @ 1.8 log @SC 10/12/2004 @ text @d103 2 @ 1.7 log @SC 28/11/2004 @ text @d14 1 d70 9 d106 1 @ 1.6 log @ * configure.ac: Increment pycairo version to 0.1.3. * RELEASING: Some cleanups since copying this file over from cairo, (mostly s/cairo/pycairo/) @ text @d20 1 @ 1.5 log @SC 14/10/2004 @ text @d7 1 a7 1 m4_define(pycairo_micro_version, 2) @ 1.4 log @SC 13/11/2004 @ text @d24 1 a24 1 AM_INIT_AUTOMAKE @ 1.3 log @SC 09/11/2004 @ text @d4 1 a4 1 dnl the pygtk version number d7 1 a7 1 m4_define(pycairo_micro_version, 1) d10 1 a10 1 dnl versions of packages we require ... d26 1 a26 1 dnl put the ACLOCAL flags in the makefile d37 1 a37 1 dnl get rid of the -export-dynamic stuff from the configure flags ... d40 1 a40 1 dnl cairo d46 1 a46 1 dnl cairo + gtk + pygtk d56 1 a56 1 dnl checks to see if Numeric Python is installed. d69 1 a69 1 dnl add debugging options ... d86 1 @ 1.2 log @ * cairo/Makefile.am (INCLUDES): Add CAIRO_CFLAGS so that things compile even without pygtk. * configure.ac: Don't re-do cairo pkg-config check when checking for gtk. * autogen.sh: If user has not set AUTOMAKE, then just use automake rather than automake-1.7. @ text @d2 1 a2 1 AC_PREREQ(2.52) d11 1 a11 1 m4_define(cairo_required_version, 0.1.3) d22 1 a22 1 AM_CONFIG_HEADER(config.h) d88 7 @ 1.1 log @check in bindings. @ text @a47 1 cairo >= cairo_required_version dnl @