diff options
author | Matt Messier <mmessier@grapetv.org> | 2007-05-10 15:48:44 -0400 |
---|---|---|
committer | Matt Messier <mmessier@grapetv.org> | 2007-05-10 15:48:44 -0400 |
commit | 722010dbea5887558dd7d954a19d918119e37b4f (patch) | |
tree | 63454985ebc265189b24878d8d4cf272fb4b4f39 /configure.ac | |
parent | 8f4ef350573f8e01a1f1c4081809b6ee1c3403d1 (diff) | |
download | xine-lib-722010dbea5887558dd7d954a19d918119e37b4f.tar.gz xine-lib-722010dbea5887558dd7d954a19d918119e37b4f.tar.bz2 |
Rename PPC_ARCH to ARCH_PPC for consistency.
Move the definition of it to a much more appropriate location.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index db8ab01d2..0b8e042cd 100644 --- a/configure.ac +++ b/configure.ac @@ -599,10 +599,15 @@ case "$host_or_hostalias" in *-*-darwin*) case "$host_or_hostalias" in - i386-* | universal-* | x86_64-*) + universal-*) + arch_ppc=yes + arch_x86=yes + ;; + i386-* | x86_64-*) arch_x86=yes ;; ppc* | powerpc*) + arch_ppc=yes dnl avoid ppc compilation crash AS="$CC" @@ -627,6 +632,8 @@ case "$host_or_hostalias" in ;; ppc-*-linux* | powerpc-*) + arch_ppc=yes + dnl avoid ppc compilation crash AS="$CC" AC_DEFINE([ARCH_PPC], [], [Define this if you're running PowerPC architecture]) @@ -763,6 +770,7 @@ if test x"$arch_x86" = x"yes"; then AC_DEFINE([ARCH_X86], [], [Define this if you're running x86 architecture]) AC_DEFINE([HAVE_MMX], [], [Define this if you can compile MMX asm instructions]) fi +AM_CONDITIONAL([ARCH_PPC], test x"$arch_ppc" = x"yes") AM_CONDITIONAL([ARCH_X86], test x"$arch_x86" = x"yes") AM_CONDITIONAL([HAVE_MMX], test x"$arch_x86" = x"yes") AM_CONDITIONAL([HOST_OS_DARWIN], test x"$HOST_OS_DARWIN" = x"1") |