# HG changeset patch # User reimar # Date 1189580376 0 # Node ID 606006d9f2f150737ccd2a72ad3c2875f574d9d9 # Parent ce265a422ee52cf4cc0d9abc06921db730f2fe2d Do not replace _ by - if x86_64 is given in --target. Patch by Andrew Calkin (andrew calkin gmail com) diff -r ce265a422ee5 -r 606006d9f2f1 configure --- 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"