1
mirror of https://github.com/mpv-player/mpv synced 2025-01-16 22:37:28 +01:00

gcc -dumpmachine outputs x86_64-something on some machines and

amd64-something on others.  Handle both cases.  Fixes bug #325.
patch by Pawel Sakowski < pawel __ dot __ sakowski __ dot __ pl >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16868 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2005-10-26 20:40:19 +00:00
parent af848272ca
commit 6a970e783d

2
configure vendored
View File

@ -516,7 +516,7 @@ if test -z "$_target" ; then
i[3-9]86*|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686|BePC) host_arch=i386 ;;
ia64) host_arch=ia64 ;;
x86_64|amd64)
if [ "`$_cc -dumpmachine | grep x86_64 | cut -d- -f1`" = "x86_64" -a \
if [ -n "`$_cc -dumpmachine | sed -n '/^x86_64-/p;/^amd64-/p'`" -a \
-z "`echo $CFLAGS | grep -- -m32`" ]; then
host_arch=x86_64
else