AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip])
AM_CONFIG_HEADER(config.h)
+AC_CONFIG_MACRO_DIR(m4)
AM_MAINTAINER_MODE
[AC_HELP_STRING([--enable-pdf], [Compile with pdf support])],enable_pdf="$enableval",enable_pdf=yes)
if test "x$enable_pdf" = "xyes"; then
- POPPLER_REQUIRED=0.8.0
+ POPPLER_REQUIRED=0.11.0
PKG_CHECK_MODULES(POPPLER, poppler-glib >= $POPPLER_REQUIRED,enable_pdf=yes,enable_pdf=no)
if test "x$enable_pdf" = "xyes"; then
evince_save_LIBS=$LIBS
LIBS="$LIBS $POPPLER_LIBS"
AC_CHECK_FUNCS(poppler_page_render)
- AC_CHECK_FUNCS(poppler_layers_iter_new)
LIBS=$evince_save_LIBS
PKG_CHECK_MODULES(CAIRO_PDF, cairo-pdf, enable_cairo_pdf=yes, enable_cairo_pdf=no)
# *****************************************************************************
+SHAVE_INIT([.], [enable])
+
AC_CONFIG_FILES([
backend/Makefile
backend/comics/Makefile
po/Makefile.in
previewer/Makefile
properties/Makefile
+shave
+shave-libtool
shell/Makefile
test/Makefile
thumbnailer/Makefile