1dnl 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. 16dnl 17 18dnl copied from httpd-2.0/os/config.m4 19dnl OS changed to OS_APACHE and OS_DIR to OS_APACHE_DIR 20 21AC_MSG_CHECKING(for target platform) 22 23#PLATFORM=`${CONFIG_SHELL-/bin/sh} $ac_config_guess` 24PLATFORM=$host 25 26case "$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 ;; 35bs2000*) 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;; 42esac 43 44AC_MSG_RESULT($OS_APACHE) 45