]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
We already depend on these autoconf functions
authorJim Jagielski <jim@apache.org>
Sat, 8 Jul 2000 14:25:25 +0000 (14:25 +0000)
committerJim Jagielski <jim@apache.org>
Sat, 8 Jul 2000 14:25:25 +0000 (14:25 +0000)
in other places. Avoid possible portability concerns by using them
here as well

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85791 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/config.m4

index d09aa21e9b8f28ea3c1738f6468d642eb368fb02..b318d13d530f9168e4917015208b8aeb4a9fa79d 100644 (file)
@@ -6,10 +6,12 @@ AC_ARG_WITH(mpm,
   mpm_explicit="yes"
 ],[
   APACHE_MPM=mpmt_pthread
-  case "`uname -sr`" in
-    "BeOS"*)
+  PLAT=`$ac_config_guess`
+  PLAT=`$ac_config_sub $PLAT`
+  case "$PLAT" in
+    *beos*)
       APACHE_MPM=mpmt_beos;;
-    "OS/2"*)
+    *os2_emx*)
       APACHE_MPM=spmt_os2;;
   esac 
   mpm_explicit="no"