From 02210e3669f243f4017b7cd1e99ceb907332bacc Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Wed, 29 Apr 2009 00:49:38 +0000 Subject: [PATCH] * Re-format the arch detection case. * Fix an annoying buy, I hate the loops configure gets stuck in when you do "$blah" = "$blah" vs test "$blah.. Originally committed to SVN as r2874. --- aegisub/configure.in | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/aegisub/configure.in b/aegisub/configure.in index 54c79c9eb..f9a32c71d 100644 --- a/aegisub/configure.in +++ b/aegisub/configure.in @@ -73,23 +73,26 @@ esac case "$target_or_host" in ppc-*-* | powerpc-*) - arch_ppc="yes" + arch_ppc="yes" ;; i*86-*-*) - arch_x86="yes" + arch_x86="yes" ;; x86_64-*-*) - arch_x86="yes" - arch_x86_64="yes" + arch_x86="yes" + arch_x86_64="yes" + ;; + + *) ;; esac if test "$build_darwin" = "yes"; then if test "$arch_x86" = "yes"; then DARWIN_ARCH="intel" - elif "$arch_ppc" = "yes"; then + elif test "$arch_ppc" = "yes"; then DARWIN_ARCH="ppc" fi AC_SUBST(DARWIN_ARCH)