Mercurial > mplayer.hg
changeset 24410:606006d9f2f1
Do not replace _ by - if x86_64 is given in --target.
Patch by Andrew Calkin (andrew calkin gmail com)
author | reimar |
---|---|
date | Wed, 12 Sep 2007 06:59:36 +0000 |
parents | ce265a422ee5 |
children | a6ead1d94378 |
files | configure |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Tue Sep 11 11:41:10 2007 +0000 +++ b/configure Wed Sep 12 06:59:36 2007 +0000 @@ -1282,7 +1282,10 @@ 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"