summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-12 06:59:36 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-12 06:59:36 +0000
commitf087be10ae023d1df895126237ee5c1033484888 (patch)
tree4a2657f23e7144ae446023c33e5771ca076c5b83 /configure
parent1878e0384b83d7f0640a30cdc3b616f993e7d3ac (diff)
downloadmpv-f087be10ae023d1df895126237ee5c1033484888.tar.bz2
mpv-f087be10ae023d1df895126237ee5c1033484888.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 6ae0cee967..80b41d757c 100755
--- a/configure
+++ b/configure
@@ -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"