From ff4d0f2ecdb7cc0f39ad1a42f457ffae41f82001 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Tue, 11 Jan 2000 17:28:28 +0000 Subject: [PATCH] Make OS selection work for non-UNIX cases git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84430 13f79535-47bb-0310-9956-ffa450edef68 --- os/config.m4 | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/os/config.m4 b/os/config.m4 index eb160d1948..4bd86a3dd6 100644 --- a/os/config.m4 +++ b/os/config.m4 @@ -1,8 +1,15 @@ -AC_MSG_CHECKING(which OS this is) +AC_MSG_CHECKING(for target platform) + +PLATFORM=`${CONFIG_SHELL-/bin/sh} $ac_config_guess` + +case "$PLATFORM" in +*beos*) + OS="beos";; +*) + OS="unix";; +esac -dnl ## XXX - I'm not sure, but this might not handle the non-Unix case yet -OS=unix OS_DIR=os/$OS -AC_MSG_RESULT([$OS]) -APACHE_FAST_OUTPUT(os/$OS/Makefile) +AC_MSG_RESULT($OS) +APACHE_FAST_OUTPUT($OS_DIR/Makefile) -- 2.50.1