diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/configure.in b/configure.in index ca94175..fe446e3 100644 --- a/configure.in +++ b/configure.in @@ -481,37 +481,6 @@ AC_SUBST(SQLITE3_LIBS) AC_SUBST(REQUIRE_PYTHON) -dnl PYCAIRO SUPPORT -dnl Check for pycairo -AC_ARG_ENABLE(cairo, - AC_HELP_STRING( - [--enable-cairo], - [Enable cairo support (experimental)]), - with_cairo="$enableval", with_cairo="no") - -use_cairo=no -if test x$with_cairo = xyes; then - PKG_CHECK_MODULES(CAIRO, cairo >= 0.5.0,, AC_MSG_ERROR([*** cairo not found! get it at http://cairographics.org/ if you want --enable-cairo ])) - if test x$py_build_only = xno; then - if test x$build_python_plugin = xyes; then - PKG_CHECK_MODULES(PYCAIRO, pycairo >= 0.5.0,, AC_MSG_ERROR([*** pycairo not found! get it at http://cairographics.org/ if you want --enable-cairo ])) - AM_CHECK_PYMOD(cairo,,,AC_MSG_ERROR([*** pycairo installed but not visible from python ])) - use_cairo=yes - AC_DEFINE([USE_CAIRO],[],[use Cairo graphic library]) - else - AC_MSG_WARN([ cairo enabled without python ?]) - fi - else - AC_MSG_WARN([py-build-only: skipping test. Do not forget to install pycairo !]) - use_cairo=yes - AC_DEFINE([USE_CAIRO],[],[use Cairo graphic library]) - fi -fi - -AM_CONDITIONAL(USE_CAIRO, test x$use_cairo = xyes) -AC_SUBST(CAIRO_CFLAGS) -AC_SUBST(CAIRO_LIBS) - dnl mingw32 specific stuff. dnl use libgw32c dnl define __GW32__ and WIN32 |