~ubuntu-branches/ubuntu/raring/cairo/raring

« back to all changes in this revision

Viewing changes to .pc/02_am-maintainer-mode.patch/configure.ac

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2013-01-23 21:19:34 UTC
  • mfrom: (1.3.11) (28.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20130123211934-q9qb538ujcmkliic
Tags: 1.12.10-1ubuntu1
* Merge from Debian, remaining changes:
* debian/patches/server_side_gradients.patch:
  - Don't use server side gradients, most drivers don't handle those and
    are really slow
* debian/control: Add missing libxext-dev dependency to libcairo2-dev.
  Spotted by autopkgtest.
* debian/patches/git_evince_rendering_fix.patch:
  Backport GIT commit to fix a rendering bug in evince
* debian/control, debian/libcairo2.symbols, debian/rules:
  - Disable GL backend due to LP: #725434

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
         [have_libz="no (requires zlib http://www.gzip.org/zlib/)"])],
48
48
         [have_libz="no (requires zlib http://www.gzip.org/zlib/)"])
49
49
 
 
50
save_LIBS="$LIBS"
 
51
AC_CHECK_LIB(lzo2, lzo2a_decompress,
 
52
         [AC_CHECK_HEADER(lzo/lzo2a.h, [
 
53
          have_lzo=yes
 
54
          AC_DEFINE(HAVE_LZO, 1, [Define to 1 if you have lzo available])
 
55
          lzo_LIBS="-llzo2"
 
56
         ],
 
57
         [have_lzo="no (requires lzpo http://www.oberhumer.com/opensource/lzo/)"])],
 
58
         [have_lzo="no (requires lzpo http://www.oberhumer.com/opensource/lzo/)"])
 
59
AC_SUBST(lzo_LIBS)
 
60
LIBS="$save_LIBS"
 
61
 
50
62
AC_CHECK_LIB(dl, dlsym,
51
63
             [have_dlsym=yes; have_dl=yes],
52
64
             [have_dlsym=no; have_dl=no])
522
534
  _save_cflags="$CFLAGS"
523
535
  LIBS="$LIBS $ft_LIBS"
524
536
  CFLAGS="$CFLAGS $ft_CFLAGS"
525
 
  AC_CHECK_MEMBER(FT_Bitmap_Size.y_ppem,
526
 
                  HAVE_FT_BITMAP_SIZE_Y_PPEM=1,
527
 
                  HAVE_FT_BITMAP_SIZE_Y_PPEM=0,
528
 
                  [#include <ft2build.h>
529
 
                   #include FT_FREETYPE_H])
530
 
  AC_DEFINE_UNQUOTED(HAVE_FT_BITMAP_SIZE_Y_PPEM,$HAVE_FT_BITMAP_SIZE_Y_PPEM,
531
 
                     [FT_Bitmap_Size structure includes y_ppem field])
532
537
 
533
538
  AC_CHECK_FUNCS(FT_Get_X11_Font_Format FT_GlyphSlot_Embolden FT_GlyphSlot_Oblique FT_Load_Sfnt_Table FT_Library_SetLcdFilter)
534
539