From: Sascha Schumann Date: Tue, 11 Jan 2000 17:28:28 +0000 (+0000) Subject: Make OS selection work for non-UNIX cases X-Git-Tag: 1.3.10~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff4d0f2ecdb7cc0f39ad1a42f457ffae41f82001;p=apache 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 --- 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)