From 13c49bea656a4f495e2c4baedab130eab367ae4f Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 11 Jul 2005 17:38:35 +0000 Subject: Allow to enable/disable the pixbuf backend. Default to off for now. If we 2005-07-11 Marco Pesenti Gritti * Makefile.am: * backend/Makefile.am: * backend/ev-document-factory.c: (ev_document_type_get_from_mime): * configure.ac: * shell/ev-document-types.c: (ev_document_types_add_filters): Allow to enable/disable the pixbuf backend. Default to off for now. If we want it enabled we should really put mime types in the desktop, implement properties etc. * properties/evince-properties.c: Initialize error to NULL. Check error is not NULL before freeing. --- (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ddb7b23..50cbfc6 100644 --- a/configure.ac +++ b/configure.ac @@ -248,6 +248,17 @@ AM_CONDITIONAL(WITH_TYPE1_FONTS, test x$enable_type1_fonts = xyes) dnl ================== End of dvi checks =================================================== +dnl ================== pixbuf checks =================================================== + +AC_ARG_ENABLE(pixbuf, + [AC_HELP_STRING([--enable-pixbuf], [Compile with support of pixbuf])],enable_pixbuf="$enableval",enable_pixbuf=no) +if test "x$enable_pixbuf" = "xyes"; then + AC_DEFINE([ENABLE_PIXBUF], [1], [Enable pixbuf support.]) +fi +AM_CONDITIONAL(ENABLE_PIXBUF, test x$enable_pixbuf = xyes) + +dnl ================== End of dvi checks =================================================== + dnl =================== Mime types list ==================================================== EVINCE_MIME_TYPES="application/pdf;application/postscript;application/x-gzpostscript" -- cgit v0.9.1