summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2008-02-08 22:16:45 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2008-02-08 22:16:45 +0000
commit1675d0eec5d8c10b82a7b1e6a882e8950b7abd75 (patch)
tree5199b107d3327a04ecdd565bd77e763a65d9ace4
parentfb2fe7b925efb93f26cb38e35acd15e248cd60b4 (diff)
downloadxine-lib-1675d0eec5d8c10b82a7b1e6a882e8950b7abd75.tar.gz
xine-lib-1675d0eec5d8c10b82a7b1e6a882e8950b7abd75.tar.bz2
Add automake conditionals ARCH_X86_32 and ARCH_X86_64.
-rw-r--r--configure.ac10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 45f262159..8099051c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2212,7 +2212,7 @@ case "$host_or_hostalias" in
dnl
AC_DEFINE_UNQUOTED(ARCH_X86_32,,[Define this if you're running x86 architecture 32 bits])
AC_DEFINE(FPM_INTEL,1,[Define to select libmad fixed point arithmetic implementation])
- arch_x86="yes"
+ arch_x86="32"
enable_impure_text="yes"
case "$host_or_hostalias" in
@@ -2224,7 +2224,7 @@ case "$host_or_hostalias" in
x86_64-*)
AC_DEFINE_UNQUOTED(ARCH_X86_64,,[Define this if you're running x86 architecture 64 bits])
AC_DEFINE(FPM_64BIT,1,[Define to select libmad fixed point arithmetic implementation])
- arch_x86="yes"
+ arch_x86="64"
;;
powerpc-*-darwin*)
dnl avoid ppc compilation crash
@@ -2303,11 +2303,13 @@ if test "x$has_vis" = "xyes"; then
fi
AM_CONDITIONAL(ENABLE_VIS, test "x$has_vis" = "xyes")
-if test "x$arch_x86" = "xyes"; then
+if test "x$arch_x86" != "xno"; then
AC_DEFINE_UNQUOTED(ARCH_X86,,[Define this if you're running x86 architecture])
AC_DEFINE_UNQUOTED(HAVE_MMX,,[Define this if you can compile MMX asm instructions])
fi
-AM_CONDITIONAL(ARCH_X86, test "x$arch_x86" = "xyes")
+AM_CONDITIONAL(ARCH_X86, test "x$arch_x86" != "xno")
+AM_CONDITIONAL(ARCH_X86_32, test "x$arch_x86" = "x32")
+AM_CONDITIONAL(ARCH_X86_64, test "x$arch_x86" = "x64")
AM_CONDITIONAL(HAVE_MMX, test "x$arch_x86" = "xyes")
case $host_os in