1dnl -------------------------------------------------------- -*- autoconf -*- 2dnl Licensed to the Apache Software Foundation (ASF) under one or more 3dnl contributor license agreements. See the NOTICE file distributed with 4dnl this work for additional information regarding copyright ownership. 5dnl The ASF licenses this file to You under the Apache License, Version 2.0 6dnl (the "License"); you may not use this file except in compliance with 7dnl the License. You may obtain a copy of the License at 8dnl 9dnl http://www.apache.org/licenses/LICENSE-2.0 10dnl 11dnl Unless required by applicable law or agreed to in writing, software 12dnl distributed under the License is distributed on an "AS IS" BASIS, 13dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14dnl See the License for the specific language governing permissions and 15dnl limitations under the License. 16 17dnl ----------------------------------------------------------------- 18dnl apr_hints.m4: APR's autoconf macros for platform-specific hints 19dnl 20dnl We preload various configure settings depending 21dnl on previously obtained platform knowledge. 22dnl We allow all settings to be overridden from 23dnl the command-line. 24dnl 25dnl We maintain the "format" that we've used 26dnl under 1.3.x, so we don't exactly follow 27dnl what is "recommended" by autoconf. 28 29dnl 30dnl APR_PRELOAD 31dnl 32dnl Preload various ENV/makefile params such as CC, CFLAGS, etc 33dnl based on outside knowledge 34dnl 35dnl Generally, we force the setting of CC, and add flags 36dnl to CFLAGS, CPPFLAGS, LIBS and LDFLAGS. 37dnl 38AC_DEFUN(APR_PRELOAD, [ 39if test "x$apr_preload_done" != "xyes" ; then 40 41 apr_preload_done="yes" 42 43 echo "Applying APR hints file rules for $host" 44 45 case "$host" in 46 *mint) 47 APR_ADDTO(CPPFLAGS, [-DMINT -D_GNU_SOURCE]) 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 APR_SETIFNULL(apr_getservbyname_is_thread_safe, [yes]) 100 ;; 101 *-hi-hiux) 102 APR_ADDTO(CPPFLAGS, [-DHIUX]) 103 ;; 104 *-hp-hpux11.*) 105 APR_ADDTO(CPPFLAGS, [-DHPUX11 -D_REENTRANT -D_HPUX_SOURCE]) 106 ;; 107 *-hp-hpux10.*) 108 case $host in 109 *-hp-hpux10.01) 110dnl # We know this is a problem in 10.01. 111dnl # Not a problem in 10.20. Otherwise, who knows? 112 APR_ADDTO(CPPFLAGS, [-DSELECT_NEEDS_CAST]) 113 ;; 114 esac 115 APR_ADDTO(CPPFLAGS, [-D_REENTRANT]) 116 ;; 117 *-hp-hpux*) 118 APR_ADDTO(CPPFLAGS, [-DHPUX -D_REENTRANT]) 119 ;; 120 *-linux*) 121 APR_ADDTO(CPPFLAGS, [-DLINUX -D_REENTRANT -D_GNU_SOURCE]) 122 ;; 123 *-lynx-lynxos) 124 APR_ADDTO(CPPFLAGS, [-D__NO_INCLUDE_WARN__ -DLYNXOS]) 125 APR_ADDTO(LIBS, [-lbsd]) 126 ;; 127 *486-*-bsdi*) 128 APR_ADDTO(CFLAGS, [-m486]) 129 ;; 130 *-*-bsdi*) 131 case $host in 132 *bsdi4.1) 133 APR_ADDTO(CFLAGS, [-D_REENTRANT]) 134 ;; 135 esac 136 ;; 137 *-openbsd*) 138 APR_ADDTO(CPPFLAGS, [-D_POSIX_THREADS]) 139 # binding to an ephemeral port fails on OpenBSD so override 140 # the test for O_NONBLOCK inheritance across accept(). 141 APR_SETIFNULL(ac_cv_o_nonblock_inherited, [yes]) 142 ;; 143 *-netbsd*) 144 APR_ADDTO(CPPFLAGS, [-DNETBSD]) 145 # fcntl() lies about O_NONBLOCK on an accept()ed socket (PR kern/26950) 146 APR_SETIFNULL(ac_cv_o_nonblock_inherited, [yes]) 147 ;; 148 *-freebsd*) 149 APR_SETIFNULL(apr_lock_method, [USE_FLOCK_SERIALIZE]) 150 if test -x /sbin/sysctl; then 151 os_version=`/sbin/sysctl -n kern.osreldate` 152 else 153 os_version=000000 154 fi 155 # 502102 is when libc_r switched to libpthread (aka libkse). 156 if test $os_version -ge "502102"; then 157 apr_cv_pthreads_cflags="none" 158 apr_cv_pthreads_lib="-lpthread" 159 else 160 APR_ADDTO(CPPFLAGS, [-D_THREAD_SAFE -D_REENTRANT]) 161 APR_SETIFNULL(enable_threads, [no]) 162 fi 163 # prevent use of KQueue before FreeBSD 4.8 164 if test $os_version -lt "480000"; then 165 APR_SETIFNULL(ac_cv_func_kqueue, no) 166 fi 167 ;; 168 *-k*bsd*-gnu) 169 APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_GNU_SOURCE]) 170 ;; 171 *-gnu*|*-GNU*) 172 APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_GNU_SOURCE -DHURD]) 173 ;; 174 *-next-nextstep*) 175 APR_SETIFNULL(CFLAGS, [-O]) 176 APR_ADDTO(CPPFLAGS, [-DNEXT]) 177 ;; 178 *-next-openstep*) 179 APR_SETIFNULL(CFLAGS, [-O]) 180 APR_ADDTO(CPPFLAGS, [-DNEXT]) 181 ;; 182 *-apple-rhapsody*) 183 APR_ADDTO(CPPFLAGS, [-DRHAPSODY]) 184 ;; 185 *-apple-darwin*) 186 APR_ADDTO(CPPFLAGS, [-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK]) 187 APR_SETIFNULL(apr_posixsem_is_global, [yes]) 188 case $host in 189 *-apple-darwin[[1-9]].*) 190 # APR's use of kqueue has triggered kernel panics for some 191 # 10.5.x (Darwin 9.x) users when running the entire test suite. 192 # In 10.4.x, use of kqueue would cause the socket tests to hang. 193 # 10.6+ (Darwin 10.x is supposed to fix the KQueue issues 194 APR_SETIFNULL(ac_cv_func_kqueue, [no]) 195 APR_SETIFNULL(ac_cv_func_poll, [no]) # See issue 34332 196 ;; 197 *-apple-darwin1?.*) 198 APR_ADDTO(CPPFLAGS, [-DDARWIN_10]) 199 ;; 200 esac 201 ;; 202 *-dec-osf*) 203 APR_ADDTO(CPPFLAGS, [-DOSF1]) 204 # process-shared mutexes don't seem to work in Tru64 5.0 205 APR_SETIFNULL(apr_cv_process_shared_works, [no]) 206 ;; 207 *-nto-qnx*) 208 ;; 209 *-qnx) 210 APR_ADDTO(CPPFLAGS, [-DQNX]) 211 APR_ADDTO(LIBS, [-N128k -lunix]) 212 ;; 213 *-qnx32) 214 APR_ADDTO(CPPFLAGS, [-DQNX]) 215 APR_ADDTO(CFLAGS, [-mf -3]) 216 APR_ADDTO(LIBS, [-N128k -lunix]) 217 ;; 218 *-isc4*) 219 APR_ADDTO(CPPFLAGS, [-posix -DISC]) 220 APR_ADDTO(LDFLAGS, [-posix]) 221 APR_ADDTO(LIBS, [-linet]) 222 ;; 223 *-sco3.2v[[234]]*) 224 APR_ADDTO(CPPFLAGS, [-DSCO -D_REENTRANT]) 225 if test "$GCC" = "no"; then 226 APR_ADDTO(CFLAGS, [-Oacgiltz]) 227 fi 228 APR_ADDTO(LIBS, [-lPW -lmalloc]) 229 ;; 230 *-sco3.2v5*) 231 APR_ADDTO(CPPFLAGS, [-DSCO5 -D_REENTRANT]) 232 ;; 233 *-sco_sv*|*-SCO_SV*) 234 APR_ADDTO(CPPFLAGS, [-DSCO -D_REENTRANT]) 235 APR_ADDTO(LIBS, [-lPW -lmalloc]) 236 ;; 237 *-solaris2*) 238 PLATOSVERS=`echo $host | sed 's/^.*solaris2.//'` 239 APR_ADDTO(CPPFLAGS, [-DSOLARIS2=$PLATOSVERS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT]) 240 if test $PLATOSVERS -ge 10; then 241 APR_SETIFNULL(apr_lock_method, [USE_PROC_PTHREAD_SERIALIZE]) 242 else 243 APR_SETIFNULL(apr_lock_method, [USE_FCNTL_SERIALIZE]) 244 fi 245 # readdir64_r error handling seems broken on Solaris (at least 246 # up till 2.8) -- it will return -1 at end-of-directory. 247 APR_SETIFNULL(ac_cv_func_readdir64_r, [no]) 248 ;; 249 *-sunos4*) 250 APR_ADDTO(CPPFLAGS, [-DSUNOS4]) 251 ;; 252 *-unixware1) 253 APR_ADDTO(CPPFLAGS, [-DUW=100]) 254 ;; 255 *-unixware2) 256 APR_ADDTO(CPPFLAGS, [-DUW=200]) 257 APR_ADDTO(LIBS, [-lgen]) 258 ;; 259 *-unixware211) 260 APR_ADDTO(CPPFLAGS, [-DUW=211]) 261 APR_ADDTO(LIBS, [-lgen]) 262 ;; 263 *-unixware212) 264 APR_ADDTO(CPPFLAGS, [-DUW=212]) 265 APR_ADDTO(LIBS, [-lgen]) 266 ;; 267 *-unixware7) 268 APR_ADDTO(CPPFLAGS, [-DUW=700]) 269 APR_ADDTO(LIBS, [-lgen]) 270 ;; 271 maxion-*-sysv4*) 272 APR_ADDTO(CPPFLAGS, [-DSVR4]) 273 APR_ADDTO(LIBS, [-lc -lgen]) 274 ;; 275 *-*-powermax*) 276 APR_ADDTO(CPPFLAGS, [-DSVR4]) 277 APR_ADDTO(LIBS, [-lgen]) 278 ;; 279 TPF) 280 APR_ADDTO(CPPFLAGS, [-DTPF -D_POSIX_SOURCE]) 281 ;; 282 bs2000*-siemens-sysv*) 283 APR_SETIFNULL(CFLAGS, [-O]) 284 APR_ADDTO(CPPFLAGS, [-DSVR4 -D_XPG_IV -D_KMEMUSER]) 285 APR_ADDTO(LIBS, [-lsocket]) 286 APR_SETIFNULL(enable_threads, [no]) 287 ;; 288 *-siemens-sysv4*) 289 APR_ADDTO(CPPFLAGS, [-DSVR4 -D_XPG_IV -DHAS_DLFCN -DUSE_MMAP_FILES -DUSE_SYSVSEM_SERIALIZED_ACCEPT]) 290 APR_ADDTO(LIBS, [-lc]) 291 ;; 292 pyramid-pyramid-svr4) 293 APR_ADDTO(CPPFLAGS, [-DSVR4 -DNO_LONG_DOUBLE]) 294 APR_ADDTO(LIBS, [-lc]) 295 ;; 296 DS/90\ 7000-*-sysv4*) 297 APR_ADDTO(CPPFLAGS, [-DUXPDS]) 298 ;; 299 *-tandem-sysv4*) 300 APR_ADDTO(CPPFLAGS, [-DSVR4]) 301 ;; 302 *-ncr-sysv4) 303 APR_ADDTO(CPPFLAGS, [-DSVR4 -DMPRAS]) 304 APR_ADDTO(LIBS, [-lc -L/usr/ucblib -lucb]) 305 ;; 306 *-sysv4*) 307 APR_ADDTO(CPPFLAGS, [-DSVR4]) 308 APR_ADDTO(LIBS, [-lc]) 309 ;; 310 88k-encore-sysv4) 311 APR_ADDTO(CPPFLAGS, [-DSVR4 -DENCORE]) 312 APR_ADDTO(LIBS, [-lPW]) 313 ;; 314 *-uts*) 315 PLATOSVERS=`echo $host | sed 's/^.*,//'` 316 case $PLATOSVERS in 317 2*) APR_ADDTO(CPPFLAGS, [-DUTS21]) 318 APR_ADDTO(CFLAGS, [-Xa -eft]) 319 APR_ADDTO(LIBS, [-lbsd -la]) 320 ;; 321 *) APR_ADDTO(CPPFLAGS, [-DSVR4]) 322 APR_ADDTO(CFLAGS, [-Xa]) 323 ;; 324 esac 325 ;; 326 *-ultrix) 327 APR_ADDTO(CPPFLAGS, [-DULTRIX]) 328 APR_SETVAR(SHELL, [/bin/sh5]) 329 ;; 330 *powerpc-tenon-machten*) 331 APR_ADDTO(LDFLAGS, [-Xlstack=0x14000 -Xldelcsect]) 332 ;; 333 *-machten*) 334 APR_ADDTO(LDFLAGS, [-stack 0x14000]) 335 ;; 336 *convex-v11*) 337 APR_ADDTO(CPPFLAGS, [-DCONVEXOS11]) 338 APR_SETIFNULL(CFLAGS, [-O1]) 339 APR_ADDTO(CFLAGS, [-ext]) 340 ;; 341 i860-intel-osf1) 342 APR_ADDTO(CPPFLAGS, [-DPARAGON]) 343 ;; 344 *-sequent-ptx2.*.*) 345 APR_ADDTO(CPPFLAGS, [-DSEQUENT=20]) 346 APR_ADDTO(CFLAGS, [-Wc,-pw]) 347 APR_ADDTO(LIBS, [-linet -lc -lseq]) 348 ;; 349 *-sequent-ptx4.0.*) 350 APR_ADDTO(CPPFLAGS, [-DSEQUENT=40]) 351 APR_ADDTO(CFLAGS, [-Wc,-pw]) 352 APR_ADDTO(LIBS, [-linet -lc]) 353 ;; 354 *-sequent-ptx4.[[123]].*) 355 APR_ADDTO(CPPFLAGS, [-DSEQUENT=41]) 356 APR_ADDTO(CFLAGS, [-Wc,-pw]) 357 APR_ADDTO(LIBS, [-lc]) 358 ;; 359 *-sequent-ptx4.4.*) 360 APR_ADDTO(CPPFLAGS, [-DSEQUENT=44]) 361 APR_ADDTO(CFLAGS, [-Wc,-pw]) 362 APR_ADDTO(LIBS, [-lc]) 363 ;; 364 *-sequent-ptx4.5.*) 365 APR_ADDTO(CPPFLAGS, [-DSEQUENT=45]) 366 APR_ADDTO(CFLAGS, [-Wc,-pw]) 367 APR_ADDTO(LIBS, [-lc]) 368 ;; 369 *-sequent-ptx5.0.*) 370 APR_ADDTO(CPPFLAGS, [-DSEQUENT=50]) 371 APR_ADDTO(CFLAGS, [-Wc,-pw]) 372 APR_ADDTO(LIBS, [-lc]) 373 ;; 374 *NEWS-OS*) 375 APR_ADDTO(CPPFLAGS, [-DNEWSOS]) 376 ;; 377 *-riscix) 378 APR_ADDTO(CPPFLAGS, [-DRISCIX]) 379 APR_SETIFNULL(CFLAGS, [-O]) 380 ;; 381 *-irix*) 382 APR_ADDTO(CPPFLAGS, [-D_POSIX_THREAD_SAFE_FUNCTIONS]) 383 ;; 384 *beos*) 385 APR_ADDTO(CPPFLAGS, [-DBEOS]) 386 PLATOSVERS=`uname -r` 387 APR_SETIFNULL(apr_process_lock_is_global, [yes]) 388 case $PLATOSVERS in 389 5.0.4) 390 APR_ADDTO(LDFLAGS, [-L/boot/beos/system/lib]) 391 APR_ADDTO(LIBS, [-lbind -lsocket]) 392 APR_ADDTO(CPPFLAGS,[-DBONE7]) 393 ;; 394 5.1) 395 APR_ADDTO(LDFLAGS, [-L/boot/beos/system/lib]) 396 APR_ADDTO(LIBS, [-lbind -lsocket]) 397 ;; 398 esac 399 APR_ADDTO(CPPFLAGS, [-DSIGPROCMASK_SETS_THREAD_MASK]) 400 ;; 401 4850-*.*) 402 APR_ADDTO(CPPFLAGS, [-DSVR4 -DMPRAS]) 403 APR_ADDTO(LIBS, [-lc -L/usr/ucblib -lucb]) 404 ;; 405 drs6000*) 406 APR_ADDTO(CPPFLAGS, [-DSVR4]) 407 APR_ADDTO(LIBS, [-lc -L/usr/ucblib -lucb]) 408 ;; 409 m88k-*-CX/SX|CYBER) 410 APR_ADDTO(CPPFLAGS, [-D_CX_SX]) 411 APR_ADDTO(CFLAGS, [-Xa]) 412 ;; 413 *-tandem-oss) 414 APR_ADDTO(CPPFLAGS, [-D_TANDEM_SOURCE -D_XOPEN_SOURCE_EXTENDED=1]) 415 ;; 416 *-ibm-os390) 417 APR_SETIFNULL(apr_lock_method, [USE_SYSVSEM_SERIALIZE]) 418 APR_SETIFNULL(apr_sysvsem_is_global, [yes]) 419 APR_SETIFNULL(apr_gethostbyname_is_thread_safe, [yes]) 420 APR_SETIFNULL(apr_gethostbyaddr_is_thread_safe, [yes]) 421 APR_SETIFNULL(apr_getservbyname_is_thread_safe, [yes]) 422 AC_DEFINE(HAVE_ZOS_PTHREADS, 1, [Define for z/OS pthread API nuances]) 423 APR_ADDTO(CPPFLAGS, [-U_NO_PROTO -DSIGPROCMASK_SETS_THREAD_MASK -DTCP_NODELAY=1]) 424 ;; 425 *-ibm-as400) 426 APR_SETIFNULL(apr_lock_method, [USE_SYSVSEM_SERIALIZE]) 427 APR_SETIFNULL(apr_process_lock_is_global, [yes]) 428 APR_SETIFNULL(apr_gethostbyname_is_thread_safe, [yes]) 429 APR_SETIFNULL(apr_gethostbyaddr_is_thread_safe, [yes]) 430 APR_SETIFNULL(apr_getservbyname_is_thread_safe, [yes]) 431 ;; 432 *mingw*) 433 APR_ADDTO(INTERNAL_CPPFLAGS, -DBINPATH=$apr_builddir/test/.libs) 434 APR_ADDTO(CPPFLAGS, [-DWIN32 -D__MSVCRT__]) 435 APR_ADDTO(LDFLAGS, [-Wl,--enable-auto-import,--subsystem,console]) 436 APR_SETIFNULL(have_unicode_fs, [1]) 437 APR_SETIFNULL(have_proc_invoked, [1]) 438 APR_SETIFNULL(apr_lock_method, [win32]) 439 APR_SETIFNULL(apr_process_lock_is_global, [yes]) 440 APR_SETIFNULL(apr_cv_use_lfs64, [yes]) 441 APR_SETIFNULL(apr_cv_osuuid, [yes]) 442 APR_SETIFNULL(apr_cv_tcp_nodelay_with_cork, [no]) 443 APR_SETIFNULL(apr_thread_func, [__stdcall]) 444 APR_SETIFNULL(ac_cv_o_nonblock_inherited, [yes]) 445 APR_SETIFNULL(ac_cv_tcp_nodelay_inherited, [yes]) 446 APR_SETIFNULL(ac_cv_file__dev_zero, [no]) 447 APR_SETIFNULL(ac_cv_func_setpgrp_void, [no]) 448 APR_SETIFNULL(ac_cv_func_mmap, [yes]) 449 APR_SETIFNULL(ac_cv_define_sockaddr_in6, [yes]) 450 APR_SETIFNULL(ac_cv_working_getaddrinfo, [yes]) 451 APR_SETIFNULL(ac_cv_working_getnameinfo, [yes]) 452 APR_SETIFNULL(ac_cv_func_gai_strerror, [yes]) 453 case $host in 454 *mingw32*) 455 APR_SETIFNULL(apr_has_xthread_files, [1]) 456 APR_SETIFNULL(apr_has_user, [1]) 457 APR_SETIFNULL(apr_procattr_user_set_requires_password, [1]) 458 dnl The real function is TransmitFile(), not sendfile(), but 459 dnl this bypasses the Linux/Solaris/AIX/etc. test and enables 460 dnl the TransmitFile() implementation. 461 APR_SETIFNULL(ac_cv_func_sendfile, [yes]) 462 ;; 463 *mingwce) 464 APR_SETIFNULL(apr_has_xthread_files, [0]) 465 APR_SETIFNULL(apr_has_user, [0]) 466 APR_SETIFNULL(apr_procattr_user_set_requires_password, [0]) 467 APR_SETIFNULL(ac_cv_func_sendfile, [no]) 468 ;; 469 esac 470 ;; 471 esac 472 473fi 474]) 475 476dnl 477dnl APR_CC_HINTS 478dnl 479dnl Allows us to provide a default choice of compiler which 480dnl the user can override. 481AC_DEFUN(APR_CC_HINTS, [ 482case "$host" in 483 *-apple-aux3*) 484 APR_SETIFNULL(CC, [gcc]) 485 ;; 486 bs2000*-siemens-sysv*) 487 APR_SETIFNULL(CC, [c89 -XLLML -XLLMK -XL -Kno_integer_overflow]) 488 ;; 489 *convex-v11*) 490 APR_SETIFNULL(CC, [cc]) 491 ;; 492 *-ibm-os390) 493 APR_SETIFNULL(CC, [cc]) 494 ;; 495 *-ibm-as400) 496 APR_SETIFNULL(CC, [icc]) 497 ;; 498 *-isc4*) 499 APR_SETIFNULL(CC, [gcc]) 500 ;; 501 m88k-*-CX/SX|CYBER) 502 APR_SETIFNULL(CC, [cc]) 503 ;; 504 *-next-openstep*) 505 APR_SETIFNULL(CC, [cc]) 506 ;; 507 *-qnx32) 508 APR_SETIFNULL(CC, [cc -F]) 509 ;; 510 *-tandem-oss) 511 APR_SETIFNULL(CC, [c89]) 512 ;; 513 TPF) 514 APR_SETIFNULL(CC, [c89]) 515 ;; 516esac 517]) 518