* 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.
This commit is contained in:
parent
5b3a60c506
commit
667f950176
1 changed files with 8 additions and 5 deletions
|
@ -73,23 +73,26 @@ esac
|
||||||
|
|
||||||
case "$target_or_host" in
|
case "$target_or_host" in
|
||||||
ppc-*-* | powerpc-*)
|
ppc-*-* | powerpc-*)
|
||||||
arch_ppc="yes"
|
arch_ppc="yes"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
i*86-*-*)
|
i*86-*-*)
|
||||||
arch_x86="yes"
|
arch_x86="yes"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
x86_64-*-*)
|
x86_64-*-*)
|
||||||
arch_x86="yes"
|
arch_x86="yes"
|
||||||
arch_x86_64="yes"
|
arch_x86_64="yes"
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if test "$build_darwin" = "yes"; then
|
if test "$build_darwin" = "yes"; then
|
||||||
if test "$arch_x86" = "yes"; then
|
if test "$arch_x86" = "yes"; then
|
||||||
DARWIN_ARCH="intel"
|
DARWIN_ARCH="intel"
|
||||||
elif "$arch_ppc" = "yes"; then
|
elif test "$arch_ppc" = "yes"; then
|
||||||
DARWIN_ARCH="ppc"
|
DARWIN_ARCH="ppc"
|
||||||
fi
|
fi
|
||||||
AC_SUBST(DARWIN_ARCH)
|
AC_SUBST(DARWIN_ARCH)
|
||||||
|
|
Loading…
Reference in a new issue