From f087be10ae023d1df895126237ee5c1033484888 Mon Sep 17 00:00:00 2001 From: reimar Date: Wed, 12 Sep 2007 06:59:36 +0000 Subject: 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 --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure') 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" -- cgit v1.2.3