upload http
[bottlenecks.git] / rubbos / app / httpd-2.0.64 / srclib / apr-util / build / apu-hints.m4
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