]> granicus.if.org Git - apache/commitdiff
Use the autoconf variable "host" consistently for platform checks.
authorRoy T. Fielding <fielding@apache.org>
Tue, 10 Jul 2001 02:35:24 +0000 (02:35 +0000)
committerRoy T. Fielding <fielding@apache.org>
Tue, 10 Jul 2001 02:35:24 +0000 (02:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89527 13f79535-47bb-0310-9956-ffa450edef68

configure.in
os/config.m4

index a95ce36415714be9b15b55dd90fd733cb0b81f64..dd2ced0f8f8c17838cd36e1730801a0c4d2c34d5 100644 (file)
@@ -92,7 +92,7 @@ echo $ac_n "${nl}Applying OS-specific hints for httpd ...${nl}"
 
 AC_CANONICAL_SYSTEM
 
-case "$host_alias" in
+case $host in
   *os2*)
       # Use a custom made libtool replacement
       echo "using aplibtool"
@@ -112,7 +112,7 @@ case "$host_alias" in
       ;;
 esac
 
-case "$host" in
+case $host in
   *-apple-aux3*)
       APR_SETVAR(APACHE_MPM, [prefork])
       APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1])
@@ -235,7 +235,7 @@ POST_SHARED_CMDS='echo ""'
 
 if test "$apache_need_shared" = "yes"; then
   $SHELL $ac_aux_dir/ltconfig --output=shlibtool --disable-static --srcdir=$ac_aux_dir --cache-file=./config.cache $ac_aux_dir/ltmain.sh
-  case "$host" in
+  case $host in
     *-ibm-aix*)
       HTTPD_LDFLAGS="$HTTPD_LDFLAGS -Wl,-bE:$abs_srcdir/server/httpd.exp"
       SH_LDFLAGS="$SH_LDFLAGS -Wl,-bI:$abs_srcdir/server/httpd.exp"
@@ -370,7 +370,7 @@ AC_SUBST(perlbin)
 dnl If we are running on BSD/OS, we need to use the BSD .include syntax.
 
 BSD_MAKEFILE=no
-case "$host_alias" in
+case $host in
 *bsdi*)
     # Check whether they've installed GNU make
     if make --version > /dev/null 2>&1; then
index 7442325d73aee9f83dff2bf0cf47206e45d049fd..669c0bd67aed783f1dba65fe544796216c5bcafd 100644 (file)
@@ -1,9 +1,6 @@
 AC_MSG_CHECKING(for target platform)
 
-#PLATFORM=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`
-PLATFORM=$host
-
-case "$PLATFORM" in
+case $host in
 *beos*)
   OS="beos"
   OS_DIR=$OS