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

« back to all changes in this revision

Viewing changes to srclib/apr-util/build/apu-hints.m4

  • 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 -------------------------------------------------------- -*- autoconf -*-
 
2
dnl Copyright 2003-2005 The Apache Software Foundation or its licensors, as
 
3
dnl applicable.
 
4
dnl
 
5
dnl Licensed under the Apache License, Version 2.0 (the "License");
 
6
dnl you may not use this file except in compliance with the License.
 
7
dnl You may obtain a copy of the License at
 
8
dnl
 
9
dnl     http://www.apache.org/licenses/LICENSE-2.0
 
10
dnl
 
11
dnl Unless required by applicable law or agreed to in writing, software
 
12
dnl distributed under the License is distributed on an "AS IS" BASIS,
 
13
dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
14
dnl See the License for the specific language governing permissions and
 
15
dnl limitations under the License.
 
16
 
 
17
dnl -----------------------------------------------------------------
 
18
dnl apu-hints.m4: apr-util's autoconf macros for platform-specific hints
 
19
dnl
 
20
dnl  We preload various configure settings depending
 
21
dnl  on previously obtained platform knowledge.
 
22
dnl  We allow all settings to be overridden from
 
23
dnl  the command-line.
 
24
 
 
25
dnl
 
26
dnl APU_PRELOAD
 
27
dnl
 
28
dnl  Preload various build parameters based on outside knowledge.
 
29
dnl
 
30
AC_DEFUN([APU_PRELOAD], [
 
31
if test "x$apu_preload_done" != "xyes" ; then
 
32
    apu_preload_done="yes"
 
33
 
 
34
    echo "Applying apr-util hints file rules for $host"
 
35
 
 
36
    case "$host" in
 
37
    *-dec-osf*)
 
38
        APR_SETIFNULL(apu_crypt_threadsafe, [1])
 
39
        ;;
 
40
    *-hp-hpux11.*)
 
41
        APR_SETIFNULL(apu_crypt_threadsafe, [1])
 
42
        ;;
 
43
    *-ibm-aix4*|*-ibm-aix5.1*)
 
44
        APR_SETIFNULL(apu_iconv_inbuf_const, [1])
 
45
        ;;
 
46
    *-ibm-os390)
 
47
        APR_SETIFNULL(apu_crypt_threadsafe, [1])
 
48
        ;;
 
49
    *-solaris2*)
 
50
        APR_SETIFNULL(apu_iconv_inbuf_const, [1])
 
51
        APR_SETIFNULL(apu_crypt_threadsafe, [1])
 
52
        ;;
 
53
    *-sco3.2v5*)
 
54
        APR_SETIFNULL(apu_db_xtra_libs, [-lsocket])
 
55
        ;;
 
56
    esac
 
57
 
 
58
fi
 
59
])
 
60
 
 
61