~svn/ubuntu/oneiric/subversion/ppa

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-12-13 17:57:16 UTC
  • mfrom: (1.1.6 upstream) (0.1.3 etch)
  • Revision ID: james.westby@ubuntu.com-20061213175716-2ysv6z4w5dpa2r2f
Tags: 1.4.2dfsg1-2ubuntu1
* Merge with Debian unstable; remaining changes:
  - Create pot file on build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl -----------------------------------------------------------------
2
 
dnl apu-hints.m4: apr-util's autoconf macros for platform-specific hints
3
 
dnl
4
 
dnl  We preload various configure settings depending
5
 
dnl  on previously obtained platform knowledge.
6
 
dnl  We allow all settings to be overridden from
7
 
dnl  the command-line.
8
 
 
9
 
dnl
10
 
dnl APU_PRELOAD
11
 
dnl
12
 
dnl  Preload various build parameters based on outside knowledge.
13
 
dnl
14
 
AC_DEFUN(APU_PRELOAD, [
15
 
if test "x$apu_preload_done" != "xyes" ; then
16
 
    apu_preload_done="yes"
17
 
 
18
 
    echo "Applying apr-util hints file rules for $host"
19
 
 
20
 
    case "$host" in
21
 
    *-dec-osf*)
22
 
        APR_SETIFNULL(apu_crypt_threadsafe, [1])
23
 
        ;;
24
 
    *-hp-hpux11.*)
25
 
        APR_SETIFNULL(apu_crypt_threadsafe, [1])
26
 
        ;;
27
 
    *-ibm-aix4*|*-ibm-aix5.1*)
28
 
        APR_SETIFNULL(apu_iconv_inbuf_const, [1])
29
 
        ;;
30
 
    *-ibm-os390)
31
 
        APR_SETIFNULL(apu_crypt_threadsafe, [1])
32
 
        ;;
33
 
    *-solaris2*)
34
 
        APR_SETIFNULL(apu_iconv_inbuf_const, [1])
35
 
        APR_SETIFNULL(apu_crypt_threadsafe, [1])
36
 
        ;;
37
 
    *-sco3.2v5*)
38
 
        APR_SETIFNULL(apu_db_xtra_libs, [-lsocket])
39
 
        ;;
40
 
    esac
41
 
 
42
 
fi
43
 
])
44
 
 
45