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

« back to all changes in this revision

Viewing changes to srclib/apr/build/apr_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 2000-2005 The Apache Software Foundation
 
3
dnl
 
4
dnl Licensed under the Apache License, Version 2.0 (the "License");
 
5
dnl you may not use this file except in compliance with the License.
 
6
dnl You may obtain a copy of the License at
 
7
dnl
 
8
dnl     http://www.apache.org/licenses/LICENSE-2.0
 
9
dnl
 
10
dnl Unless required by applicable law or agreed to in writing, software
 
11
dnl distributed under the License is distributed on an "AS IS" BASIS,
 
12
dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
13
dnl See the License for the specific language governing permissions and
 
14
dnl limitations under the License.
 
15
 
 
16
dnl -----------------------------------------------------------------
 
17
dnl apr_hints.m4: APR's autoconf macros for platform-specific hints
 
18
dnl
 
19
dnl  We preload various configure settings depending
 
20
dnl  on previously obtained platform knowledge.
 
21
dnl  We allow all settings to be overridden from
 
22
dnl  the command-line.
 
23
dnl
 
24
dnl  We maintain the "format" that we've used
 
25
dnl  under 1.3.x, so we don't exactly follow
 
26
dnl  what is "recommended" by autoconf.
 
27
 
 
28
dnl
 
29
dnl APR_PRELOAD
 
30
dnl
 
31
dnl  Preload various ENV/makefile params such as CC, CFLAGS, etc
 
32
dnl  based on outside knowledge
 
33
dnl
 
34
dnl  Generally, we force the setting of CC, and add flags
 
35
dnl  to CFLAGS, CPPFLAGS, LIBS and LDFLAGS. 
 
36
dnl
 
37
AC_DEFUN(APR_PRELOAD, [
 
38
if test "x$apr_preload_done" != "xyes" ; then
 
39
 
 
40
  apr_preload_done="yes"
 
41
 
 
42
  echo "Applying APR hints file rules for $host"
 
43
 
 
44
  case "$host" in
 
45
    *mint)
 
46
        APR_ADDTO(CPPFLAGS, [-DMINT])
 
47
        APR_ADDTO(LIBS, [-lportlib])
 
48
        ;;
 
49
    *MPE/iX*)
 
50
        APR_ADDTO(CPPFLAGS, [-DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE])
 
51
        APR_ADDTO(LIBS, [-lsvipc -lcurses])
 
52
        APR_ADDTO(LDFLAGS, [-Xlinker \"-WL,cap=ia,ba,ph;nmstack=1024000\"])
 
53
        ;;
 
54
    *-apple-aux3*)
 
55
        APR_ADDTO(CPPFLAGS, [-DAUX3 -D_POSIX_SOURCE])
 
56
        APR_ADDTO(LIBS, [-lposix -lbsd])
 
57
        APR_ADDTO(LDFLAGS, [-s])
 
58
        APR_SETVAR(SHELL, [/bin/ksh])
 
59
        ;;
 
60
    *-ibm-aix*)
 
61
        APR_ADDTO(CPPFLAGS, [-U__STR__ -D_THREAD_SAFE])
 
62
        dnl _USR_IRS gets us the hstrerror() proto in netdb.h
 
63
        case $host in
 
64
            *-ibm-aix4.3)
 
65
                APR_ADDTO(CPPFLAGS, [-D_USE_IRS])
 
66
                ;;
 
67
            *-ibm-aix5*)
 
68
                APR_ADDTO(CPPFLAGS, [-D_USE_IRS])
 
69
                ;;
 
70
            *-ibm-aix4.3.*)
 
71
                APR_ADDTO(CPPFLAGS, [-D_USE_IRS])
 
72
                ;;
 
73
        esac
 
74
        dnl If using xlc, remember it, and give it the right options.
 
75
        if $CC 2>&1 | grep 'xlc' > /dev/null; then
 
76
          APR_SETIFNULL(AIX_XLC, [yes])
 
77
          APR_ADDTO(CFLAGS, [-qHALT=E])
 
78
        fi
 
79
        APR_SETIFNULL(apr_sysvsem_is_global, [yes])
 
80
        APR_SETIFNULL(apr_lock_method, [USE_SYSVSEM_SERIALIZE])
 
81
        case $host in
 
82
            *-ibm-aix3* | *-ibm-aix4.1.*)
 
83
                ;;
 
84
            *)
 
85
                APR_ADDTO(LDFLAGS, [-Wl,-brtl])
 
86
                ;;
 
87
        esac
 
88
        ;;
 
89
    *-apollo-*)
 
90
        APR_ADDTO(CPPFLAGS, [-DAPOLLO])
 
91
        ;;
 
92
    *-dg-dgux*)
 
93
        APR_ADDTO(CPPFLAGS, [-DDGUX])
 
94
        ;;
 
95
    *-os2*)
 
96
        APR_SETVAR(SHELL, [sh])
 
97
        APR_SETIFNULL(apr_gethostbyname_is_thread_safe, [yes])
 
98
        APR_SETIFNULL(apr_gethostbyaddr_is_thread_safe, [yes])
 
99
        ;;
 
100
    *-hi-hiux)
 
101
        APR_ADDTO(CPPFLAGS, [-DHIUX])
 
102
        ;;
 
103
    *-hp-hpux11.*)
 
104
        APR_ADDTO(CPPFLAGS, [-DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED])
 
105
        ;;
 
106
    *-hp-hpux10.*)
 
107
        case $host in
 
108
          *-hp-hpux10.01)
 
109
dnl            # We know this is a problem in 10.01.
 
110
dnl            # Not a problem in 10.20.  Otherwise, who knows?
 
111
               APR_ADDTO(CPPFLAGS, [-DSELECT_NEEDS_CAST])
 
112
               ;;            
 
113
        esac
 
114
        APR_ADDTO(CPPFLAGS, [-D_REENTRANT])
 
115
        ;;
 
116
    *-hp-hpux*)
 
117
        APR_ADDTO(CPPFLAGS, [-DHPUX -D_REENTRANT])
 
118
        ;;
 
119
    *-linux-*)
 
120
        case `uname -r` in
 
121
            2.* )  APR_ADDTO(CPPFLAGS, [-DLINUX=2])
 
122
                   ;;
 
123
            1.* )  APR_ADDTO(CPPFLAGS, [-DLINUX=1])
 
124
                   ;;
 
125
            * )
 
126
                   ;;
 
127
        esac
 
128
        APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_GNU_SOURCE])
 
129
        ;;
 
130
    *-GNU*)
 
131
        APR_ADDTO(CPPFLAGS, [-DHURD -D_GNU_SOURCE])
 
132
        ;;
 
133
    *-lynx-lynxos)
 
134
        APR_ADDTO(CPPFLAGS, [-D__NO_INCLUDE_WARN__ -DLYNXOS])
 
135
        APR_ADDTO(LIBS, [-lbsd])
 
136
        ;;
 
137
    *486-*-bsdi*)
 
138
        APR_ADDTO(CFLAGS, [-m486])
 
139
        ;;
 
140
    *-*-bsdi*)
 
141
        case $host in
 
142
            *bsdi4.1)
 
143
                APR_ADDTO(CFLAGS, [-D_REENTRANT])
 
144
                ;;
 
145
        esac
 
146
        ;;
 
147
    *-openbsd*)
 
148
        APR_ADDTO(CPPFLAGS, [-D_POSIX_THREADS])
 
149
        # binding to an ephemeral port fails on OpenBSD so override
 
150
        # the test for O_NONBLOCK inheritance across accept().
 
151
        APR_SETIFNULL(ac_cv_o_nonblock_inherited, [yes])
 
152
        ;;
 
153
    *-netbsd*)
 
154
        APR_ADDTO(CPPFLAGS, [-DNETBSD])
 
155
        # fcntl() lies about O_NONBLOCK on an accept()ed socket (PR kern/26950)
 
156
        APR_SETIFNULL(ac_cv_o_nonblock_inherited, [yes])
 
157
        ;;
 
158
    *-freebsd*)
 
159
        APR_SETIFNULL(apr_lock_method, [USE_FLOCK_SERIALIZE])
 
160
        if test -x /sbin/sysctl; then
 
161
            os_version=`/sbin/sysctl -n kern.osreldate`
 
162
        else
 
163
            os_version=000000
 
164
        fi
 
165
        # 502102 is when libc_r switched to libpthread (aka libkse).
 
166
        if test $os_version -ge "502102"; then
 
167
          apr_cv_pthreads_cflags="none"
 
168
          apr_cv_pthreads_lib="-lpthread"
 
169
        else
 
170
          APR_ADDTO(CPPFLAGS, [-D_THREAD_SAFE -D_REENTRANT])
 
171
          APR_SETIFNULL(enable_threads, [no])
 
172
        fi
 
173
        # prevent use of KQueue before FreeBSD 4.8
 
174
        if test $os_version -lt "480000"; then
 
175
          APR_SETIFNULL(ac_cv_func_kqueue, no)
 
176
        fi
 
177
        ;;
 
178
    *-next-nextstep*)
 
179
        APR_SETIFNULL(CFLAGS, [-O])
 
180
        APR_ADDTO(CPPFLAGS, [-DNEXT])
 
181
        ;;
 
182
    *-next-openstep*)
 
183
        APR_SETIFNULL(CFLAGS, [-O])
 
184
        APR_ADDTO(CPPFLAGS, [-DNEXT])
 
185
        ;;
 
186
    *-apple-rhapsody*)
 
187
        APR_ADDTO(CPPFLAGS, [-DRHAPSODY])
 
188
        ;;
 
189
    *-apple-darwin*)
 
190
        APR_ADDTO(CPPFLAGS, [-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp])
 
191
        APR_SETIFNULL(apr_posixsem_is_global, [yes])
 
192
        APR_SETIFNULL(ac_cv_func_poll, [no]) # See issue 34332
 
193
 
 
194
        # kqueue is broken on OS X, the poll tests work, but the socket tests
 
195
        # hang when it's turned on.  if you decide to reenable this please be
 
196
        # sure to test that ALL the tests continue to work with it turned on.
 
197
        APR_SETIFNULL(ac_cv_func_kqueue, [no]) 
 
198
        ;;
 
199
    *-dec-osf*)
 
200
        APR_ADDTO(CPPFLAGS, [-DOSF1])
 
201
        # process-shared mutexes don't seem to work in Tru64 5.0
 
202
        APR_SETIFNULL(apr_cv_process_shared_works, [no])
 
203
        ;;
 
204
    *-nto-qnx*)
 
205
        ;;
 
206
    *-qnx)
 
207
        APR_ADDTO(CPPFLAGS, [-DQNX])
 
208
        APR_ADDTO(LIBS, [-N128k -lunix])
 
209
        ;;
 
210
    *-qnx32)
 
211
        APR_ADDTO(CPPFLAGS, [-DQNX])
 
212
        APR_ADDTO(CFLAGS, [-mf -3])
 
213
        APR_ADDTO(LIBS, [-N128k -lunix])
 
214
        ;;
 
215
    *-isc4*)
 
216
        APR_ADDTO(CPPFLAGS, [-posix -DISC])
 
217
        APR_ADDTO(LDFLAGS, [-posix])
 
218
        APR_ADDTO(LIBS, [-linet])
 
219
        ;;
 
220
    *-sco3.2v[[234]]*)
 
221
        APR_ADDTO(CPPFLAGS, [-DSCO -D_REENTRANT])
 
222
        if test "$GCC" = "no"; then
 
223
            APR_ADDTO(CFLAGS, [-Oacgiltz])
 
224
        fi
 
225
        APR_ADDTO(LIBS, [-lPW -lmalloc])
 
226
        ;;
 
227
    *-sco3.2v5*)
 
228
        APR_ADDTO(CPPFLAGS, [-DSCO5 -D_REENTRANT])
 
229
        ;;
 
230
    *-sco_sv*|*-SCO_SV*)
 
231
        APR_ADDTO(CPPFLAGS, [-DSCO -D_REENTRANT])
 
232
        APR_ADDTO(LIBS, [-lPW -lmalloc])
 
233
        ;;
 
234
    *-solaris2*)
 
235
        PLATOSVERS=`echo $host | sed 's/^.*solaris2.//'`
 
236
        APR_ADDTO(CPPFLAGS, [-DSOLARIS2=$PLATOSVERS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT])
 
237
        APR_SETIFNULL(apr_lock_method, [USE_FCNTL_SERIALIZE])
 
238
        ;;
 
239
    *-sunos4*)
 
240
        APR_ADDTO(CPPFLAGS, [-DSUNOS4])
 
241
        ;;
 
242
    *-unixware1)
 
243
        APR_ADDTO(CPPFLAGS, [-DUW=100])
 
244
        ;;
 
245
    *-unixware2)
 
246
        APR_ADDTO(CPPFLAGS, [-DUW=200])
 
247
        APR_ADDTO(LIBS, [-lgen])
 
248
        ;;
 
249
    *-unixware211)
 
250
        APR_ADDTO(CPPFLAGS, [-DUW=211])
 
251
        APR_ADDTO(LIBS, [-lgen])
 
252
        ;;
 
253
    *-unixware212)
 
254
        APR_ADDTO(CPPFLAGS, [-DUW=212])
 
255
        APR_ADDTO(LIBS, [-lgen])
 
256
        ;;
 
257
    *-unixware7)
 
258
        APR_ADDTO(CPPFLAGS, [-DUW=700])
 
259
        APR_ADDTO(LIBS, [-lgen])
 
260
        ;;
 
261
    maxion-*-sysv4*)
 
262
        APR_ADDTO(CPPFLAGS, [-DSVR4])
 
263
        APR_ADDTO(LIBS, [-lc -lgen])
 
264
        ;;
 
265
    *-*-powermax*)
 
266
        APR_ADDTO(CPPFLAGS, [-DSVR4])
 
267
        APR_ADDTO(LIBS, [-lgen])
 
268
        ;;
 
269
    TPF)
 
270
       APR_ADDTO(CPPFLAGS, [-DTPF -D_POSIX_SOURCE])
 
271
       ;;
 
272
    bs2000*-siemens-sysv*)
 
273
        APR_SETIFNULL(CFLAGS, [-O])
 
274
        APR_ADDTO(CPPFLAGS, [-DSVR4 -D_XPG_IV -D_KMEMUSER])
 
275
        APR_ADDTO(LIBS, [-lsocket])
 
276
        APR_SETIFNULL(enable_threads, [no])
 
277
        ;;
 
278
    *-siemens-sysv4*)
 
279
        APR_ADDTO(CPPFLAGS, [-DSVR4 -D_XPG_IV -DHAS_DLFCN -DUSE_MMAP_FILES -DUSE_SYSVSEM_SERIALIZED_ACCEPT])
 
280
        APR_ADDTO(LIBS, [-lc])
 
281
        ;;
 
282
    pyramid-pyramid-svr4)
 
283
        APR_ADDTO(CPPFLAGS, [-DSVR4 -DNO_LONG_DOUBLE])
 
284
        APR_ADDTO(LIBS, [-lc])
 
285
        ;;
 
286
    DS/90\ 7000-*-sysv4*)
 
287
        APR_ADDTO(CPPFLAGS, [-DUXPDS])
 
288
        ;;
 
289
    *-tandem-sysv4*)
 
290
        APR_ADDTO(CPPFLAGS, [-DSVR4])
 
291
        ;;
 
292
    *-ncr-sysv4)
 
293
        APR_ADDTO(CPPFLAGS, [-DSVR4 -DMPRAS])
 
294
        APR_ADDTO(LIBS, [-lc -L/usr/ucblib -lucb])
 
295
        ;;
 
296
    *-sysv4*)
 
297
        APR_ADDTO(CPPFLAGS, [-DSVR4])
 
298
        APR_ADDTO(LIBS, [-lc])
 
299
        ;;
 
300
    88k-encore-sysv4)
 
301
        APR_ADDTO(CPPFLAGS, [-DSVR4 -DENCORE])
 
302
        APR_ADDTO(LIBS, [-lPW])
 
303
        ;;
 
304
    *-uts*)
 
305
        PLATOSVERS=`echo $host | sed 's/^.*,//'`
 
306
        case $PLATOSVERS in
 
307
            2*) APR_ADDTO(CPPFLAGS, [-DUTS21])
 
308
                APR_ADDTO(CFLAGS, [-Xa -eft])
 
309
                APR_ADDTO(LIBS, [-lbsd -la])
 
310
                ;;
 
311
            *)  APR_ADDTO(CPPFLAGS, [-DSVR4])
 
312
                APR_ADDTO(CFLAGS, [-Xa])
 
313
                ;;
 
314
        esac
 
315
        ;;
 
316
    *-ultrix)
 
317
        APR_ADDTO(CPPFLAGS, [-DULTRIX])
 
318
        APR_SETVAR(SHELL, [/bin/sh5])
 
319
        ;;
 
320
    *powerpc-tenon-machten*)
 
321
        APR_ADDTO(LDFLAGS, [-Xlstack=0x14000 -Xldelcsect])
 
322
        ;;
 
323
    *-machten*)
 
324
        APR_ADDTO(LDFLAGS, [-stack 0x14000])
 
325
        ;;
 
326
    *convex-v11*)
 
327
        APR_ADDTO(CPPFLAGS, [-DCONVEXOS11])
 
328
        APR_SETIFNULL(CFLAGS, [-O1])
 
329
        APR_ADDTO(CFLAGS, [-ext])
 
330
        ;;
 
331
    i860-intel-osf1)
 
332
        APR_ADDTO(CPPFLAGS, [-DPARAGON])
 
333
        ;;
 
334
    *-sequent-ptx2.*.*)
 
335
        APR_ADDTO(CPPFLAGS, [-DSEQUENT=20])
 
336
        APR_ADDTO(CFLAGS, [-Wc,-pw])
 
337
        APR_ADDTO(LIBS, [-linet -lc -lseq])
 
338
        ;;
 
339
    *-sequent-ptx4.0.*)
 
340
        APR_ADDTO(CPPFLAGS, [-DSEQUENT=40])
 
341
        APR_ADDTO(CFLAGS, [-Wc,-pw])
 
342
        APR_ADDTO(LIBS, [-linet -lc])
 
343
        ;;
 
344
    *-sequent-ptx4.[[123]].*)
 
345
        APR_ADDTO(CPPFLAGS, [-DSEQUENT=41])
 
346
        APR_ADDTO(CFLAGS, [-Wc,-pw])
 
347
        APR_ADDTO(LIBS, [-lc])
 
348
        ;;
 
349
    *-sequent-ptx4.4.*)
 
350
        APR_ADDTO(CPPFLAGS, [-DSEQUENT=44])
 
351
        APR_ADDTO(CFLAGS, [-Wc,-pw])
 
352
        APR_ADDTO(LIBS, [-lc])
 
353
        ;;
 
354
    *-sequent-ptx4.5.*)
 
355
        APR_ADDTO(CPPFLAGS, [-DSEQUENT=45])
 
356
        APR_ADDTO(CFLAGS, [-Wc,-pw])
 
357
        APR_ADDTO(LIBS, [-lc])
 
358
        ;;
 
359
    *-sequent-ptx5.0.*)
 
360
        APR_ADDTO(CPPFLAGS, [-DSEQUENT=50])
 
361
        APR_ADDTO(CFLAGS, [-Wc,-pw])
 
362
        APR_ADDTO(LIBS, [-lc])
 
363
        ;;
 
364
    *NEWS-OS*)
 
365
        APR_ADDTO(CPPFLAGS, [-DNEWSOS])
 
366
        ;;
 
367
    *-riscix)
 
368
        APR_ADDTO(CPPFLAGS, [-DRISCIX])
 
369
        APR_SETIFNULL(CFLAGS, [-O])
 
370
        ;;
 
371
    *-irix*)
 
372
        APR_ADDTO(CPPFLAGS, [-D_POSIX_THREAD_SAFE_FUNCTIONS])
 
373
        ;;
 
374
    *beos*)
 
375
        APR_ADDTO(CPPFLAGS, [-DBEOS])
 
376
        PLATOSVERS=`uname -r`
 
377
        APR_SETIFNULL(apr_process_lock_is_global, [yes])
 
378
        case $PLATOSVERS in
 
379
            5.0.4)
 
380
                APR_ADDTO(LDFLAGS, [-L/boot/beos/system/lib])
 
381
                APR_ADDTO(LIBS, [-lbind -lsocket])
 
382
                APR_ADDTO(CPPFLAGS,[-DBONE7])
 
383
                ;;
 
384
            5.1)
 
385
                APR_ADDTO(LDFLAGS, [-L/boot/beos/system/lib])
 
386
                APR_ADDTO(LIBS, [-lbind -lsocket])
 
387
                ;;
 
388
        esac
 
389
        APR_ADDTO(CPPFLAGS, [-DSIGPROCMASK_SETS_THREAD_MASK -DAP_AUTH_DBM_USE_APR])
 
390
        ;;
 
391
    4850-*.*)
 
392
        APR_ADDTO(CPPFLAGS, [-DSVR4 -DMPRAS])
 
393
        APR_ADDTO(LIBS, [-lc -L/usr/ucblib -lucb])
 
394
        ;;
 
395
    drs6000*)
 
396
        APR_ADDTO(CPPFLAGS, [-DSVR4])
 
397
        APR_ADDTO(LIBS, [-lc -L/usr/ucblib -lucb])
 
398
        ;;
 
399
    m88k-*-CX/SX|CYBER)
 
400
        APR_ADDTO(CPPFLAGS, [-D_CX_SX])
 
401
        APR_ADDTO(CFLAGS, [-Xa])
 
402
        ;;
 
403
    *-tandem-oss)
 
404
        APR_ADDTO(CPPFLAGS, [-D_TANDEM_SOURCE -D_XOPEN_SOURCE_EXTENDED=1])
 
405
        ;;
 
406
    *-ibm-os390)
 
407
       APR_SETIFNULL(apr_lock_method, [USE_SYSVSEM_SERIALIZE])
 
408
       APR_SETIFNULL(apr_sysvsem_is_global, [yes])
 
409
       APR_SETIFNULL(apr_gethostbyname_is_thread_safe, [yes])
 
410
       APR_SETIFNULL(apr_gethostbyaddr_is_thread_safe, [yes])
 
411
       APR_ADDTO(CPPFLAGS, [-U_NO_PROTO -DPTHREAD_ATTR_SETDETACHSTATE_ARG2_ADDR -DPTHREAD_SETS_ERRNO -DPTHREAD_DETACH_ARG1_ADDR -DSIGPROCMASK_SETS_THREAD_MASK -DTCP_NODELAY=1])
 
412
       ;;
 
413
    *-ibm-as400)
 
414
       APR_SETIFNULL(apr_lock_method, [USE_SYSVSEM_SERIALIZE])
 
415
       APR_SETIFNULL(apr_process_lock_is_global, [yes])
 
416
       APR_SETIFNULL(apr_gethostbyname_is_thread_safe, [yes])
 
417
       APR_SETIFNULL(apr_gethostbyaddr_is_thread_safe, [yes])
 
418
       ;;
 
419
    *cygwin*)
 
420
        APR_ADDTO(CPPFLAGS, [-DCYGWIN])
 
421
        APR_ADDTO(LIBS, [-lcrypt])
 
422
        ;;
 
423
  esac
 
424
 
 
425
fi
 
426
])
 
427
 
 
428
dnl
 
429
dnl APR_CC_HINTS
 
430
dnl
 
431
dnl  Allows us to provide a default choice of compiler which
 
432
dnl  the user can override.
 
433
AC_DEFUN(APR_CC_HINTS, [
 
434
case "$host" in
 
435
  *-apple-aux3*)
 
436
      APR_SETIFNULL(CC, [gcc])
 
437
      ;;
 
438
  bs2000*-siemens-sysv*)
 
439
      APR_SETIFNULL(CC, [c89 -XLLML -XLLMK -XL -Kno_integer_overflow])
 
440
      ;;
 
441
  *convex-v11*)
 
442
      APR_SETIFNULL(CC, [cc])
 
443
      ;;
 
444
  *-ibm-os390)
 
445
      APR_SETIFNULL(CC, [cc])
 
446
      ;;
 
447
  *-ibm-as400)
 
448
      APR_SETIFNULL(CC, [icc])
 
449
      ;;
 
450
  *-isc4*)
 
451
      APR_SETIFNULL(CC, [gcc])
 
452
      ;;
 
453
  m88k-*-CX/SX|CYBER)
 
454
      APR_SETIFNULL(CC, [cc])
 
455
      ;;
 
456
  *-next-openstep*)
 
457
      APR_SETIFNULL(CC, [cc])
 
458
      ;;
 
459
  *-qnx32)
 
460
      APR_SETIFNULL(CC, [cc -F])
 
461
      ;;
 
462
  *-tandem-oss)
 
463
      APR_SETIFNULL(CC, [c89])
 
464
      ;;
 
465
  TPF)
 
466
      APR_SETIFNULL(CC, [c89])
 
467
      ;;
 
468
esac
 
469
])