~ubuntu-branches/ubuntu/hardy/evince/hardy-security

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-04-08 23:52:57 UTC
  • mfrom: (1.1.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20080408235257-0rd70trs4y6gxf9z
Tags: 2.22.1.1-0ubuntu1
* New upstream version:
  Bug fixes:
  -  Fix build in FreeBSD 
  -  Fixes djvu backend links 
* debian/control.in, debian/patches/01_launchpad.patch:
  - updated to the launchpad integration changes
* debian/patches/99_autoreconf.patch:
  - new version update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
dnl Process this file with autoconf to produce a configure script.
2
2
 
3
3
AC_PREREQ(2.57)
4
 
AC_INIT([Evince],[2.22.1],[http://bugzilla.gnome.org/enter_bug.cgi?product=evince],[evince])
 
4
AC_INIT([Evince],[2.22.1.1],[http://bugzilla.gnome.org/enter_bug.cgi?product=evince],[evince])
5
5
AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip])
6
6
 
7
7
EV_API_VERSION=2.20
224
224
            AC_CHECK_FUNCS(poppler_page_get_image)
225
225
            LIBS=$evince_save_LIBS
226
226
 
227
 
            POPPLER_MAJOR_VERSION=`$PKG_CONFIG --modversion poppler-glib | sed 's/0\.\([[0-9]]*\)\(\.\([[0-9]]*\)\)\?/\1/'`
228
 
            POPPLER_MINOR_VERSION=`$PKG_CONFIG --modversion poppler-glib | sed 's/0\.\([[0-9]]*\)\(\.\([[0-9]]*\)\)\?/\3/'`
229
 
            if test -z "$POPPLER_MINOR_VERSION"; then
230
 
              POPPLER_MINOR_VERSION=0
 
227
            poppler_version=`$PKG_CONFIG --modversion poppler-glib`
 
228
            if test x$poppler_version = x0.6; then
 
229
                    poppler_version=0.6.0
231
230
            fi
 
231
            POPPLER_MAJOR_VERSION=`echo $poppler_version | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\2 /'`
 
232
            POPPLER_MINOR_VERSION=`echo $poppler_version | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\3 /'`
232
233
 
233
234
            AC_DEFINE_UNQUOTED([POPPLER_MAJOR_VERSION], $POPPLER_MAJOR_VERSION, [Poppler major version number])
234
235
            AC_DEFINE_UNQUOTED([POPPLER_MINOR_VERSION], $POPPLER_MINOR_VERSION, [Poppler minor version number])
235
236
 
236
237
            PKG_CHECK_MODULES(CAIRO_PDF, cairo-pdf, enable_cairo_pdf=yes, enable_cairo_pdf=no)
237
 
            if test x$enable_cairo_pdf == xyes; then
 
238
            if test x$enable_cairo_pdf = xyes; then
238
239
                    AC_DEFINE([HAVE_CAIRO_PDF], [1], [defined if cairo-pdf is available])
239
240
            fi
240
241
 
241
242
            PKG_CHECK_MODULES(CAIRO_PS, cairo-ps, enable_cairo_ps=yes, enable_cairo_ps=no)
242
 
            if test x$enable_cairo_ps == xyes; then
 
243
            if test x$enable_cairo_ps = xyes; then
243
244
                    AC_DEFINE([HAVE_CAIRO_PS], [1], [defined if cairo-ps is available])
244
245
            fi
245
246
    else