configure.ac (0bd633ab) configure.ac (7afab28f)
1dnl /******************************************************************
2dnl * vi:set sw=3 ts=3 et:
3dnl *
4dnl * Name: configure.in
5dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland
6dnl * Date: $Date: 2008-09-08 07:38:40 $
7dnl *
8dnl * Desc: This file serves as input for the GNU autoconf package

--- 405 unchanged lines hidden (view full) ---

414],,enable_presenter_extra_ui=no)
415AC_ARG_ENABLE(minimizer,
416[ --enable-minimizer enables the build of the Presentation Minimizer extension
417],,)
418AC_ARG_ENABLE(presenter-console,
419[ --enable-presenter-console enables the build of the Presenter Console extension
420],,)
421AC_ARG_ENABLE(pdfimport,
1dnl /******************************************************************
2dnl * vi:set sw=3 ts=3 et:
3dnl *
4dnl * Name: configure.in
5dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland
6dnl * Date: $Date: 2008-09-08 07:38:40 $
7dnl *
8dnl * Desc: This file serves as input for the GNU autoconf package

--- 405 unchanged lines hidden (view full) ---

414],,enable_presenter_extra_ui=no)
415AC_ARG_ENABLE(minimizer,
416[ --enable-minimizer enables the build of the Presentation Minimizer extension
417],,)
418AC_ARG_ENABLE(presenter-console,
419[ --enable-presenter-console enables the build of the Presenter Console extension
420],,)
421AC_ARG_ENABLE(pdfimport,
422[ --enable-pdfimport enables the build of the PDF Import extension and xpdf
422[ --enable-pdfimport enables the build of the PDF Import extension
423],,)
424AC_ARG_ENABLE(wiki-publisher,
425[ --enable-wiki-publisher enables the build of the Wiki Publisher extension
426],,)
427AC_ARG_WITH(commons-codec-jar,
428[ --with-commons-codec-jar=JARFILE Specify path to jarfile manually ],
429[ COMMONS_CODEC_JAR="$withval"
430])

--- 5514 unchanged lines hidden (view full) ---

5945AC_MSG_CHECKING([whether to build the PDF Import extension])
5946if test -n "$enable_pdfimport" -a "$enable_pdfimport" != "no"; then
5947 AC_MSG_RESULT([yes])
5948 ENABLE_PDFIMPORT=YES
5949
5950 dnl ===================================================================
5951 dnl Check for system poppler
5952 dnl ===================================================================
423],,)
424AC_ARG_ENABLE(wiki-publisher,
425[ --enable-wiki-publisher enables the build of the Wiki Publisher extension
426],,)
427AC_ARG_WITH(commons-codec-jar,
428[ --with-commons-codec-jar=JARFILE Specify path to jarfile manually ],
429[ COMMONS_CODEC_JAR="$withval"
430])

--- 5514 unchanged lines hidden (view full) ---

5945AC_MSG_CHECKING([whether to build the PDF Import extension])
5946if test -n "$enable_pdfimport" -a "$enable_pdfimport" != "no"; then
5947 AC_MSG_RESULT([yes])
5948 ENABLE_PDFIMPORT=YES
5949
5950 dnl ===================================================================
5951 dnl Check for system poppler
5952 dnl ===================================================================
5953 AC_MSG_CHECKING([which pdf backend to use])
5953 AC_MSG_CHECKING([whether to use system pdf backend])
5954 if test -n "$with_system_poppler" -o -n "$with_system_libs" && \
5955 test "$with_system_poppler" != "no"; then
5956 AC_MSG_RESULT([external])
5957 SYSTEM_POPPLER=YES
5958 PKG_CHECK_MODULES( POPPLER, poppler >= 0.8.0 )
5959 else
5954 if test -n "$with_system_poppler" -o -n "$with_system_libs" && \
5955 test "$with_system_poppler" != "no"; then
5956 AC_MSG_RESULT([external])
5957 SYSTEM_POPPLER=YES
5958 PKG_CHECK_MODULES( POPPLER, poppler >= 0.8.0 )
5959 else
5960 AC_MSG_RESULT([internal])
5960 AC_MSG_RESULT([no])
5961 SYSTEM_POPPLER=NO
5961 SYSTEM_POPPLER=NO
5962 BUILD_TYPE="$BUILD_TYPE XPDF"
5963 AC_MSG_CHECKING([for xpdf module])
5964 if test -d ./xpdf; then
5965 AC_MSG_RESULT([OK])
5966 else
5967 AC_MSG_ERROR([not existing. get it (did you get the -extensions tarball?)])
5968 fi
5962 ENABLE_PDFIMPORT=NO
5969 fi
5970else
5971 AC_MSG_RESULT([no])
5972 ENABLE_PDFIMPORT=NO
5973fi
5974AC_SUBST(ENABLE_PDFIMPORT)
5975AC_SUBST(SYSTEM_POPPLER)
5976AC_SUBST(POPPLER_CFLAGS)

--- 1215 unchanged lines hidden ---
5963 fi
5964else
5965 AC_MSG_RESULT([no])
5966 ENABLE_PDFIMPORT=NO
5967fi
5968AC_SUBST(ENABLE_PDFIMPORT)
5969AC_SUBST(SYSTEM_POPPLER)
5970AC_SUBST(POPPLER_CFLAGS)

--- 1215 unchanged lines hidden ---