From 731368a0e790824e37edfe01fb7b6cbed359f096 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 12 Feb 2006 22:38:38 +0000 Subject: [PATCH] Use host_os and host_cpu. --- stepmania/configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stepmania/configure.ac b/stepmania/configure.ac index 0a9dffe198..cb084ca01c 100644 --- a/stepmania/configure.ac +++ b/stepmania/configure.ac @@ -49,8 +49,8 @@ esac # Define UNIX for all Unix-like systems. Don't define it for cross-compiling to # non-Unix-like systems. (-DUNIX selects the archutils and ArchHooks to use; if # your platform doesn't use the Unix ones, you probably don't want to define UNIX.) -case $host in -*-linux-*) +case $host_os in +*linux*) AC_DEFINE(LINUX, 1, [Linux]) AC_DEFINE(UNIX, 1, [Unix]) linux=yes @@ -70,14 +70,14 @@ AM_CONDITIONAL(LINUX, test "$linux" = "yes" ) # AMD, etc. If you need CPU-specific assembly, check at runtime--don't create # separate binaries for each CPU if the binaries themselves are otherwise # compatible. -case $host in -i?86-*) +case $host_cpu in +i?86*) AC_DEFINE(CPU_X86, 1, [x86]) ;; -x86_64-*) +x86_64*) AC_DEFINE(CPU_X86_64, 1, [x86-64]) ;; -powerpc-*) +powerpc*) AC_DEFINE(CPU_PPC, 1, [PPC]) have_parallel_port=no ;;