~ubuntu-branches/ubuntu/utopic/libxfont/utopic-proposed

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Package Import Robot
  • Author(s): Julien Cristau
  • Date: 2014-05-13 17:25:49 UTC
  • Revision ID: package-import@ubuntu.com-20140513172549-0tospr47im3q9bej
Tags: 1:1.4.7-2
* Pull from upstream git to fix FTBFS with new fontsproto (closes: #746052)
* CVE-2014-0209: integer overflow of allocations in font metadata
* CVE-2014-0210: unvalidated length fields when parsing xfs protocol replies
* CVE-2014-0211: integer overflows calculating memory needs for xfs replies
* Add breaks on xfs because we broke it by disabling font protocol support
  in 1.4.7.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
# Initialize Autoconf
23
23
AC_PREREQ([2.60])
24
 
AC_INIT([libXfont], [1.4.7],
 
24
AC_INIT([libXfont], [1.4.99.0],
25
25
        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXfont])
26
26
AC_CONFIG_SRCDIR([Makefile.am])
27
27
AC_CONFIG_HEADERS([config.h include/X11/fonts/fontconf.h])
64
64
XFONT_FONTFILE=no
65
65
 
66
66
#
67
 
# Scalable fonts in files:
68
 
#       FreeType
69
 
#       Bitstream Speedo rasterizer
 
67
# FreeType for all scalable (OpenType, TrueType, PostScript) and
 
68
# some bitmap formats (BDF & PCF)
70
69
#
71
70
AC_ARG_ENABLE(freetype, [ --disable-freetype],[XFONT_FREETYPE=$enableval],[XFONT_FREETYPE=yes])
72
71
AM_CONDITIONAL(XFONT_FREETYPE, [test x$XFONT_FREETYPE = xyes])
181
180
AC_CHECK_LIB(m, hypot, [MATH_LIBS=-lm
182
181
AC_SUBST(MATH_LIBS)], AC_MSG_ERROR([*** libm is required]))
183
182
 
184
 
PKG_CHECK_MODULES(XFONT, xproto xtrans fontsproto fontenc)
 
183
PKG_CHECK_MODULES(XFONT, [xproto xtrans fontsproto >= 2.1.3 fontenc])
185
184
 
186
185
# Transport selection macro from xtrans.m4
187
186
XTRANS_CONNECTION_FLAGS