git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84430
13f79535-47bb-0310-9956-
ffa450edef68
-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)