~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to srclib/apr-util/xml/expat/configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl   configuration script for expat
 
2
dnl   Process this file with autoconf to produce a configure script.
 
3
dnl
 
4
dnl   Copyright 2000 Clark Cooper
 
5
dnl
 
6
dnl   This file is part of EXPAT.
 
7
dnl
 
8
dnl   EXPAT is free software; you can redistribute it and/or modify it
 
9
dnl   under the terms of the License (based on the MIT/X license) contained
 
10
dnl   in the file COPYING that comes with this distribution.
 
11
dnl
 
12
 
 
13
AC_INIT(Makefile.in)
 
14
AC_CONFIG_AUX_DIR(conftools)
 
15
 
 
16
dnl
 
17
dnl Follow the GNU/Linux convention of odd number minor version for
 
18
dnl beta/development releases and even number minor version for stable
 
19
dnl releases. Edit is bumped with each release and set to 0 with
 
20
dnl change to major or minor version.
 
21
dnl
 
22
 
 
23
EXPAT_MAJOR_VERSION=1
 
24
EXPAT_MINOR_VERSION=95
 
25
EXPAT_EDIT=2
 
26
 
 
27
EXPAT_VERSION=$EXPAT_MAJOR_VERSION.$EXPAT_MINOR_VERSION.$EXPAT_EDIT
 
28
VERSION=$EXPAT_VERSION
 
29
PACKAGE=expat
 
30
 
 
31
dnl
 
32
dnl Increment LIBREVISION if source code has changed at all
 
33
dnl
 
34
dnl If the API has changed, increment LIBCURRENT and set LIBREVISION to 0
 
35
dnl
 
36
dnl If the API changes compatibly (i.e. simply adding a new function
 
37
dnl without changing or removing earlier interfaces), then increment LIBAGE.
 
38
dnl 
 
39
dnl If the API changes incompatibly set LIBAGE back to 0
 
40
dnl
 
41
 
 
42
LIBCURRENT=1
 
43
LIBREVISION=0
 
44
LIBAGE=1
 
45
 
 
46
AC_CONFIG_HEADER(config.h)
 
47
 
 
48
AC_CANONICAL_SYSTEM
 
49
case "$host_os" in
 
50
*os2*)
 
51
    # Use a custom made libtool replacement
 
52
    echo Using aplibtool
 
53
    LIBTOOL="$srcdir/../../../apr/build/aplibtool"
 
54
    ;;
 
55
*)
 
56
    AC_LIBTOOL_WIN32_DLL
 
57
AC_PROG_LIBTOOL
 
58
    ;;
 
59
esac
 
60
 
 
61
blddir=`pwd`
 
62
AC_SUBST(blddir)
 
63
 
 
64
AC_SUBST(PACKAGE)
 
65
AC_SUBST(VERSION)
 
66
AC_SUBST(EXPAT_MAJOR_VERSION)
 
67
AC_SUBST(EXPAT_MINOR_VERSION)
 
68
AC_SUBST(EXPAT_EDIT)
 
69
 
 
70
AC_SUBST(LIBCURRENT)
 
71
AC_SUBST(LIBREVISION)
 
72
AC_SUBST(LIBAGE)
 
73
 
 
74
dnl Checks for programs.
 
75
AC_PROG_CC
 
76
AC_PROG_INSTALL
 
77
 
 
78
dnl Checks for libraries.
 
79
 
 
80
dnl Checks for header files.
 
81
AC_HEADER_STDC
 
82
AC_CHECK_HEADERS(fcntl.h unistd.h string.h)
 
83
 
 
84
dnl Checks for typedefs, structures, and compiler characteristics.
 
85
dnl check for endianness
 
86
if test "$cross_compiling" = "no"; then
 
87
  AC_C_BIGENDIAN
 
88
else
 
89
  AC_DEFINE(AP_UNKNOWN_BYTE_ORDER,1,
 
90
                [byte order is unknown due to cross-compilation])
 
91
fi
 
92
AC_C_CONST
 
93
AC_TYPE_OFF_T
 
94
AC_TYPE_SIZE_T
 
95
 
 
96
dnl Checks for library functions.
 
97
 
 
98
AC_FUNC_MEMCMP
 
99
AC_FUNC_MMAP
 
100
AC_SUBST(FILEMAP_OBJ)
 
101
if test -z "$HAVE_MMAP"; then
 
102
FILEMAP_OBJ=unixfilemap.o
 
103
else
 
104
FILEMAP_OBJ=readfilemap.o
 
105
fi
 
106
 
 
107
AC_CHECK_FUNCS(memmove bcopy)
 
108
 
 
109
AC_OUTPUT(Makefile lib/Makefile lib/expat.h)