Do not replace _ by - if x86_64 is given in --target.

Patch by Andrew Calkin (andrew calkin gmail com)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24430 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-09-12 06:59:36 +00:00
parent 1878e0384b
commit f087be10ae
1 changed files with 4 additions and 1 deletions

5
configure vendored
View File

@ -1282,7 +1282,10 @@ else # if test -z "$_target"
mingw32msvc) system_name=MINGW32 ;;
esac
# We need to convert underscores so that values like k6-2 and pentium-mmx can be passed
host_arch=`echo $_target | cut -d '-' -f 1 | tr '_' '-'`
host_arch=`echo $_target | cut -d '-' -f 1`
if test `echo $host_arch` != "x86_64" ; then
host_arch=`echo $host_arch | tr '_' '-'`
fi
fi
echo "Detected operating system: $system_name"