From 6fbf5b057f2ecb55e73eecca0a7b313cfee97ea8 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 22 Dec 2011 21:23:35 +0000 Subject: [PATCH] Remove references to a target archtecture from the configure script Originally committed to SVN as r6091. --- aegisub/configure.in | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) 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)