diff --git a/aegisub/configure.in b/aegisub/configure.in index 92c33ca01..db00c6f50 100644 --- a/aegisub/configure.in +++ b/aegisub/configure.in @@ -41,23 +41,14 @@ AC_CANONICAL_HOST ########################### -# Check target architecture +# Check host architecture ########################### -AC_MSG_CHECKING([for target architecture]) -case x"$target" in - xNONE | x) - target_or_host="$host" ;; - *) - target_or_host="$target" ;; -esac -AC_MSG_RESULT([$target_or_host]) - build_darwin="no" build_linux="no" build_bsd="no" build_default="no" -case "$target_or_host" in +case "$host" in *-*-darwin*) build_darwin="yes" ;; @@ -77,7 +68,7 @@ case "$target_or_host" in ;; esac -case "$target_or_host" in +case "$host" in ppc-*-* | powerpc-*) arch_ppc="yes" arch_bundle="ppc" @@ -107,7 +98,7 @@ if test "$build_darwin" = "yes"; then fi # Used for universalchardet. -AC_AGI_MDCPUCFG($target_or_host) +AC_AGI_MDCPUCFG($host) AC_SUBST(build_bsd)