X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=configure.ac;h=3081339556416a0cd2e1ac355d73248f017da44c;hb=f00b898dd13b85e510188714f6b9d9a349d23ed2;hp=5b57ea2fe1c820c1ba8efa4db51a873605adb7dc;hpb=2ff34dc68c82e425cff25ee52cf9260b52bb6ad3;p=evince.git diff --git a/configure.ac b/configure.ac index 5b57ea2f..30813395 100644 --- a/configure.ac +++ b/configure.ac @@ -41,7 +41,7 @@ dnl Check dependencies # SHELL_CFLAGS for shell implementation. # SHELL_LIBS -POPPLER_REQUIRED=0.5.1 +POPPLER_REQUIRED=0.5.2 DBUS_GLIB_REQUIRED=0.33 GTK_REQUIRED=2.8.15 KEYRING_REQUIRED=0.4.0 @@ -292,6 +292,17 @@ AM_CONDITIONAL(ENABLE_COMICS, test x$enable_comics = xyes) dnl ================== End of comic book checks ============================================ +dnl ================== comic book checks =================================================== + +AC_ARG_ENABLE(impress, + [AC_HELP_STRING([--enable-impress], [Compile with support for impress presentations])],enable_impress="$enableval",enable_impress=no) +if test "x$enable_impress" = "xyes"; then + AC_DEFINE([ENABLE_IMPRESS], [1], [Enable support for impress.]) +fi +AM_CONDITIONAL(ENABLE_IMPRESS, test x$enable_impress = xyes) + +dnl ================== End of comic book checks ============================================ + dnl =================== Mime types list ==================================================== EVINCE_MIME_TYPES="application/pdf" @@ -311,6 +322,12 @@ fi if test "x$enable_comics" = "xyes"; then EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;application/x-cbr;application/x-cbz" fi +if test "x$enable_pixbuf" = "xyes"; then + EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;image/*" +fi +if test "x$enable_impress" = "xyes"; then + EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;application/vnd.sun.xml.impress" +fi AC_SUBST(EVINCE_MIME_TYPES) AC_CONFIG_FILES([ @@ -329,6 +346,7 @@ ps/Makefile djvu/Makefile dvi/Makefile dvi/mdvi-lib/Makefile +impress/Makefile comics/Makefile po/Makefile.in backend/Makefile @@ -352,4 +370,5 @@ Configure summary: DVI Backend........: $enable_dvi Pixbuf Backend.....: $enable_pixbuf Comics Backend.....: $enable_comics + Impress Backend....: $enable_impress "