summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-02-11 17:36:46 +0000
committertruelight <truelight@openttd.org>2007-02-11 17:36:46 +0000
commit6afa186e7cdc75c21173bd3d60896ce67c1c1899 (patch)
tree98cf0284e67b761cc87b986c419e7163fa80ecc9
parent53785810c8abb8a81f322536fe08a5a0e3cf9017 (diff)
downloadopenttd-6afa186e7cdc75c21173bd3d60896ce67c1c1899.tar.xz
(svn r8679) [Configure] -Fix: 'checking for' and 'checking' was used mixed, now only 'checking' is used
-Fix: 'checking host g++/gcc' is silly, changed it to 'checking host c++/cc'
-rw-r--r--config.lib14
1 files changed, 7 insertions, 7 deletions
diff --git a/config.lib b/config.lib
index 281f9d368..4cfa5abf1 100644
--- a/config.lib
+++ b/config.lib
@@ -325,8 +325,8 @@ check_params() {
fi
# Already detected by check_build
- log 1 "checking for build gcc... $cc_build"
- log 1 "checking for host gcc... $cc_host"
+ log 1 "checking build cc... $cc_build"
+ log 1 "checking host cc... $cc_host"
check_cxx_build
check_cxx_host
@@ -344,7 +344,7 @@ check_params() {
fi
if [ "$enable_static" != "0" ]; then
- log 1 "checking for static... yes"
+ log 1 "checking static... yes"
if [ "$os" != "MINGW" ] && [ "$os" != "CYGWIN" ] && [ "$os" != "OSX" ] && [ "$os" != "MORPHOS" ]; then
log 1 "WARNING: static is only known to work on Windows, MacOSX and MorphOS"
@@ -353,7 +353,7 @@ check_params() {
sleep 5
fi
else
- log 1 "checking for static... no"
+ log 1 "checking static... no"
fi
# Show what we configured
@@ -1005,13 +1005,13 @@ check_host() {
}
check_cxx_build() {
- check_compiler "build g++" "cxx_build" "$build" "$cxx_build" "$CXX" "g++" "c++" 1 "-dumpmachine"
+ check_compiler "build c++" "cxx_build" "$build" "$cxx_build" "$CXX" "g++" "c++" 1 "-dumpmachine"
}
check_cxx_host() {
# By default the host is the build
if [ -z "$host" ]; then host="$build"; fi
- check_compiler "host g++" "cxx_host" "$host" "$cxx_host" "$CXX" "g++" "c++" 1 "-dumpmachine"
+ check_compiler "host c++" "cxx_host" "$host" "$cxx_host" "$CXX" "g++" "c++" 1 "-dumpmachine"
}
check_windres() {
@@ -1023,7 +1023,7 @@ check_windres() {
check_strip() {
if [ "$os" = "OS2" ]; then
# OS2 via gcc is a bit weird.. stripping HAS to be done via emxbind, which is via gcc directly
- echo "checking for host strip... using gcc -s option"
+ echo "checking host strip... using gcc -s option"
elif [ "$os" = "OSX" ]; then
# Most targets have -V in strip, to see if they exists... OSX doesn't.. so execute something
echo "int main(int argc, char *argv[]) { }" > strip.test.c