[MPlayer-dev-eng] [PATCH] configure on amd64
Diego Biurrun
diego at biurrun.de
Thu Dec 23 11:42:12 CET 2004
Guillaume, you seem to have access to an AMD64 system, could you test
this?
Diego
Reimar Döffinger writes:
> I had on user report where the following patch made MPlayer compile on
> AMD64 with assembler optimizations. e.g. postproc/swscale.c tests for
> ARCH_X86, and I'd also say that ARCH_X86 should be defined for AMD64
> (afaik it's just x86 with 64 bit "extension").
>
> Greetings,
> Reimar Döffinger
> Index: configure
> ===================================================================
> RCS file: /cvsroot/mplayer/main/configure,v
> retrieving revision 1.910
> diff -u -r1.910 configure
> --- configure 5 Sep 2004 17:46:33 -0000 1.910
> +++ configure 7 Sep 2004 12:19:53 -0000
> @@ -75,7 +75,7 @@
> # x86/x86pc is used by QNX
> x86() {
> case "$host_arch" in
> - i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686) return 0 ;;
> + i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686|x86_64) return 0 ;;
> *) return 1 ;;
> esac
> }
> @@ -659,7 +659,7 @@
> fi
>
> case "$host_arch" in
> - i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686)
> + i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686|x86_64)
> _def_arch="#define ARCH_X86 1"
> _target_arch="TARGET_ARCH_X86 = yes"
>
More information about the MPlayer-dev-eng
mailing list