Commit 9b84890c authored by Christophe Massiot's avatar Christophe Massiot

* configure.ac: Support for x86_64 architecture.

parent f3feceb8
...@@ -1159,15 +1159,17 @@ if test -n "${with_tuning}"; then ...@@ -1159,15 +1159,17 @@ if test -n "${with_tuning}"; then
else else
if test "${target_cpu}" = "i686" -o "${target_cpu}" = "i586" -o "${target_cpu}" = "i486" -o "${target_cpu}" = "i386"; then if test "${target_cpu}" = "i686" -o "${target_cpu}" = "i586" -o "${target_cpu}" = "i486" -o "${target_cpu}" = "i386"; then
CFLAGS_TUNING="-mcpu=pentiumpro" CFLAGS_TUNING="-mcpu=pentiumpro"
else elif test "${target_cpu}" = "x86_64"; then
if test "${target_cpu}" = "powerpc"; then CFLAGS_TUNING="-mtune=750"; fi CFLAGS_TUNING="-mtune=opteron"
elif test "${target_cpu}" = "powerpc"; then
CFLAGS_TUNING="-mtune=750";
fi fi
fi fi
dnl dnl
dnl x86 accelerations dnl x86 accelerations
dnl dnl
if test "${target_cpu}" = "i686" -o "${target_cpu}" = "i586" -o "${target_cpu}" = "x86" -o "${target_cpu}" = "i386" if test "${target_cpu}" = "i686" -o "${target_cpu}" = "i586" -o "${target_cpu}" = "x86" -o "${target_cpu}" = "i386" -o "${target_cpu}" = "x86_64"
then then
ARCH="${ARCH} mmx" ARCH="${ARCH} mmx"
VLC_ADD_BUILTINS([${ACCEL_MODULES}]) VLC_ADD_BUILTINS([${ACCEL_MODULES}])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment