[MPlayer-cvslog] r24430 - trunk/configure

reimar subversion at mplayerhq.hu
Wed Sep 12 08:59:37 CEST 2007


Author: reimar
Date: Wed Sep 12 08:59:36 2007
New Revision: 24430

Log:
Do not replace _ by - if x86_64 is given in --target.
Patch by Andrew Calkin (andrew calkin gmail com)


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Wed Sep 12 08:59:36 2007
@@ -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"



More information about the MPlayer-cvslog mailing list