comparison configure @ 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 15da64a537de
children ace95ae92f21
comparison
equal deleted inserted replaced
24409:ce265a422ee5 24410:606006d9f2f1
1280 morphos) system_name=MorphOS ;; 1280 morphos) system_name=MorphOS ;;
1281 amigaos) system_name=AmigaOS ;; 1281 amigaos) system_name=AmigaOS ;;
1282 mingw32msvc) system_name=MINGW32 ;; 1282 mingw32msvc) system_name=MINGW32 ;;
1283 esac 1283 esac
1284 # We need to convert underscores so that values like k6-2 and pentium-mmx can be passed 1284 # We need to convert underscores so that values like k6-2 and pentium-mmx can be passed
1285 host_arch=`echo $_target | cut -d '-' -f 1 | tr '_' '-'` 1285 host_arch=`echo $_target | cut -d '-' -f 1`
1286 if test `echo $host_arch` != "x86_64" ; then
1287 host_arch=`echo $host_arch | tr '_' '-'`
1288 fi
1286 fi 1289 fi
1287 1290
1288 echo "Detected operating system: $system_name" 1291 echo "Detected operating system: $system_name"
1289 echo "Detected host architecture: $host_arch" 1292 echo "Detected host architecture: $host_arch"
1290 1293