summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-23 11:42:11 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-23 11:42:11 +0000
commit693c9737eee4948aaf536c14ccc01e3356b46f15 (patch)
tree9978fda0f13af6f76f83dda8e2665471ab011c51 /configure
parentcf828c1dd5596c154da6e414b901b8aff872487c (diff)
downloadmpv-693c9737eee4948aaf536c14ccc01e3356b46f15.tar.bz2
mpv-693c9737eee4948aaf536c14ccc01e3356b46f15.tar.xz
Define HAVE_FAST_64BIT if appropriate
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28182 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 97a784ff76..d5a44b3afe 100755
--- a/configure
+++ b/configure
@@ -1919,6 +1919,7 @@ EOF
ia64)
_arch='IA64'
_target_arch='ARCH_IA64 = yes'
+ def_fast_64bit='#define HAVE_FAST_64BIT 1'
iproc='ia64'
;;
@@ -1927,6 +1928,7 @@ EOF
_target_arch='ARCH_X86_64 = yes'
_target_arch_x86="ARCH_X86 = yes"
_def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
+ def_fast_64bit='#define HAVE_FAST_64BIT 1'
iproc='x86_64'
# gcc >= 3.4.0 doesn't support -mcpu, we have to use -mtune instead
@@ -2011,6 +2013,7 @@ EOF
if test "$host_arch" = "sparc64" ; then
_vis='yes'
proc='ultrasparc'
+ def_fast_64bit='#define HAVE_FAST_64BIT 1'
elif sunos ; then
echocheck "CPU type"
karch=`uname -m`
@@ -2050,6 +2053,9 @@ EOF
_def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
iproc='ppc'
+ if test "$host_arch" = "ppc64" -o "$host_arch" = "powerpc64" ; then
+ def_fast_64bit='#define HAVE_FAST_64BIT 1'
+ fi
echocheck "CPU type"
case $system_name in
Linux)
@@ -8532,6 +8538,7 @@ $_def_libswscale_so
$_def_dcbzl
$_def_extern_prefix
+$def_fast_64bit
$_def_fast_unaligned
$_def_mkstemp
$_def_pthreads