[Scummvm-cvs-logs] SF.net SVN: scummvm:[39520] scummvm/trunk/configure
marcus_c at users.sourceforge.net
marcus_c at users.sourceforge.net
Wed Mar 18 22:07:28 CET 2009
Revision: 39520
http://scummvm.svn.sourceforge.net/scummvm/?rev=39520&view=rev
Author: marcus_c
Date: 2009-03-18 21:07:28 +0000 (Wed, 18 Mar 2009)
Log Message:
-----------
Create a variable _host_alias defaulting to $_host_cpu-$_host_os, which is used to pick the cross compiler. This allows "special" hosts to override it.
Modified Paths:
--------------
scummvm/trunk/configure
Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure 2009-03-18 20:58:11 UTC (rev 39519)
+++ scummvm/trunk/configure 2009-03-18 21:07:28 UTC (rev 39520)
@@ -150,6 +150,7 @@
_host_cpu=""
_host_vendor=""
_host_os=""
+_host_alias=""
cc_check() {
echo >> "$TMPLOG"
@@ -858,6 +859,10 @@
;;
esac
+if test -z "$_host_alias"; then
+ _host_alias="$_host_cpu-$_host_os"
+fi
+
#
# Determine extension used for executables
#
@@ -893,7 +898,7 @@
#
echo_n "Looking for C++ compiler... "
if test -n "$_host"; then
- compilers="$CXX $_host_cpu-$_host_os-g++ $_host_cpu-$_host_os-c++ $_host-g++ $_host-c++"
+ compilers="$CXX $_host_alias-g++ $_host_alias-c++ $_host-g++ $_host-c++"
else
compilers="$CXX g++ c++"
fi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list