bottleneck testcase based on rubbos
[bottlenecks.git] / rubbos / app / tomcat-connectors-1.2.32-src / support / os_apache.m4
1 dnl
2 dnl Licensed to the Apache Software Foundation (ASF) under one or more
3 dnl contributor license agreements.  See the NOTICE file distributed with
4 dnl this work for additional information regarding copyright ownership.
5 dnl The ASF licenses this file to You under the Apache License, Version 2.0
6 dnl (the "License"); you may not use this file except in compliance with
7 dnl the License.  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 dnl
17
18 dnl copied from httpd-2.0/os/config.m4
19 dnl OS changed to OS_APACHE and OS_DIR to OS_APACHE_DIR
20
21 AC_MSG_CHECKING(for target platform)
22
23 #PLATFORM=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`
24 PLATFORM=$host
25
26 case "$PLATFORM" in
27 *beos*)
28   OS_APACHE="beos"
29   OS_APACHE_DIR=$OS_APACHE
30   ;;
31 *pc-os2_emx*)
32   OS_APACHE="os2"
33   OS_APACHE_DIR=$OS_APACHE
34   ;;
35 bs2000*)
36   OS_APACHE="unix"
37   OS_APACHE_DIR=bs2000  # only the OS_APACHE_DIR is platform specific.
38   ;;
39 *)
40   OS_APACHE="unix"
41   OS_APACHE_DIR=$OS_APACHE;;
42 esac
43
44 AC_MSG_RESULT($OS_APACHE)