~ubuntu-branches/ubuntu/utopic/expat/utopic

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-03-20 22:37:22 UTC
  • mfrom: (1.1.4) (5.1.7 precise)
  • Revision ID: package-import@ubuntu.com-20120320223722-wq8sq4gykhlvc8j9
Tags: 2.1.0~beta3-1
* QA upload.
* Beta release 2.1.0 beta3. Closes: #663579.
  - CVE-2012-1147 - Resource leak in readfilemap.c.
  - CVE-2012-1148 - Memory leak in poolGrow.
  - CVE-2012-0876 - Hash DOS attack.
  - Remove patches applied upstream.
* Remove Daniel from uploaders (orphaned package).
* Update package format to 3.0.
* Enable hardened build. Closes: #653526.
* Add a symbols file.
* Install expat pkgconfig file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
dnl   in the file COPYING that comes with this distribution.
11
11
dnl
12
12
 
13
 
dnl Ensure that Expat is configured with autoconf 2.52 or newer
14
 
AC_PREREQ(2.52)
 
13
dnl Ensure that Expat is configured with autoconf 2.58 or newer
 
14
AC_PREREQ(2.58)
15
15
 
16
16
dnl Get the version number of Expat, using m4's esyscmd() command to run
17
17
dnl the command at m4-generation time. This allows us to create an m4
25
25
dnl GNU M4 to test it right now.
26
26
define([expat_version], ifdef([__gnu__],
27
27
                              [esyscmd(conftools/get-version.sh lib/expat.h)],
28
 
                              [2.0.x]))
 
28
                              [2.1.x]))
29
29
AC_INIT(expat, expat_version, expat-bugs@libexpat.org)
30
30
undefine([expat_version])
31
31
 
32
32
AC_CONFIG_SRCDIR(Makefile.in)
33
33
AC_CONFIG_AUX_DIR(conftools)
 
34
AC_CONFIG_MACRO_DIR([m4])
34
35
 
35
36
 
36
37
dnl
44
45
dnl If the API changes incompatibly set LIBAGE back to 0
45
46
dnl
46
47
 
47
 
LIBCURRENT=6
48
 
LIBREVISION=2
49
 
LIBAGE=5
 
48
LIBCURRENT=7
 
49
LIBREVISION=0
 
50
LIBAGE=6
50
51
 
51
52
AC_CONFIG_HEADER(expat_config.h)
52
53
 
53
 
sinclude(conftools/libtool.m4)
54
54
sinclude(conftools/ac_c_bigendian_cross.m4)
55
55
 
56
56
AC_LIBTOOL_WIN32_DLL
62
62
 
63
63
dnl Checks for programs.
64
64
AC_PROG_CC
 
65
AC_PROG_CXX
65
66
AC_PROG_INSTALL
66
67
 
67
68
if test "$GCC" = yes ; then
144
145
AC_DEFINE([XML_CONTEXT_BYTES], 1024,
145
146
          [Define to specify how much context to retain around the current parse point.])
146
147
 
147
 
AC_CONFIG_FILES(Makefile)
 
148
AC_CONFIG_FILES([Makefile expat.pc])
148
149
AC_OUTPUT
149
150
 
150
151
abs_srcdir="`cd $srcdir && pwd`"