~ubuntu-branches/ubuntu/quantal/xml2/quantal

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Schoenfeld
  • Date: 2008-03-10 10:38:58 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080310103858-y2t4hbdq5ilfpt3c
Tags: 0.4-2
* Added dpatch as a patch system
* Transition to libxml2:
    + Added a patch to use libxml2 instead of libxml
      Thanks to Daniel Leidert for the patch.
    + Changed build-depend for libxml-dev to libxml2-dev
  (Closes: #470013)
* Added build-depends on autotools-dev, autoconf and automake,
  because configure needs to be regenerated
  (it is being patched by the libxml2 patch)
* Added a call to autoreconf in the configure target of debian/rules,
  because the configure script needs to be regenerated
* Delete autoconf files in clean target and generate them with a new
  configure rule in debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#                                               -*- Autoconf -*-
 
2
# Process this file with autoconf to produce a configure script.
 
3
 
 
4
AC_PREREQ(2.61)
 
5
AC_INIT(xml2, 0.4, egnor@ofb.net)
 
6
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
7
AC_CONFIG_SRCDIR([2csv.c])
 
8
AC_CONFIG_HEADER([config.h])
 
9
 
 
10
# Checks for programs.
 
11
AC_PROG_CC
 
12
 
 
13
# Checks for libraries.
 
14
PKG_CHECK_MODULES(XML, libxml)
 
15
AC_SUBST(XML_LIBS)
 
16
AC_SUBST(XML_CFLAGS)
 
17
 
 
18
# Checks for header files.
 
19
AC_HEADER_STDC
 
20
AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
 
21
 
 
22
# Checks for typedefs, structures, and compiler characteristics.
 
23
AC_C_CONST
 
24
AC_TYPE_SIZE_T
 
25
 
 
26
# Checks for library functions.
 
27
AC_FUNC_MALLOC
 
28
AC_FUNC_REALLOC
 
29
AC_FUNC_VPRINTF
 
30
AC_CHECK_FUNCS([memchr memmove memset strchr strcspn strdup strrchr strstr])
 
31
 
 
32
AC_CONFIG_FILES([Makefile])
 
33
AC_OUTPUT