diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-05-29 11:27:28 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-05-29 11:27:28 (GMT) |
commit | 891cb3e7733ab34e949e3aeef1f3461ab2431717 (patch) | |
tree | 354d66d27688e0e5044721c0cd20a0def57df20d /configure.ac | |
parent | c560fbddbdf6b3e3b0961cbc896e7b4f739f2cd1 (diff) |
Improve djvu loading speed. Fix for 301993
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 8532cb3..f958ab2 100644 --- a/configure.ac +++ b/configure.ac @@ -131,14 +131,24 @@ AC_ARG_ENABLE(djvu, if test "x$enable_djvu" = "xyes"; then AC_CHECK_HEADERS([libdjvu/ddjvuapi.h],enable_djvu=yes,enable_djvu=no,) + if test "x$enable_djvu" = "xyes"; then AC_CHECK_LIB([djvulibre],ddjvu_context_create,enable_djvu=yes,enable_djvu=no,"-lpthread") + AC_CHECK_LIB([djvulibre],ddjvu_document_get_pageinfo,enable_djvu=yes,enable_djvu=no,"-lpthread") fi if test "x$enable_djvu" = "xyes"; then AC_DEFINE([ENABLE_DJVU], [1], [Enable djvu viewer support.]) else - AC_MSG_WARN("Djvu support is disabled since djvulibre library version 3.5.14 or newer is not found") + AC_MSG_WARN([ +** Djvu support is disabled since recent version of djvulibre +** library was not found. To get proper djvu support you need to +** install development version of djvulibre. You can get it from +** anonymous CVS server on djvulibre.sf.net. Just use something +** like: + +** cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/djvu co djvulibre-3.5 +]) fi fi |