From: Maxim Mamontov Date: Mon, 20 Jun 2011 12:28:24 +0000 (+0300) Subject: Merge branch 'master' into full-month-stats X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/f19bef8a44d3e9e02cc3d4069a3b0dd2169af094?hp=1325cf9788d4089f9d20bf2121b0872c6369c817 Merge branch 'master' into full-month-stats --- diff --git a/projects/convertor/build b/projects/convertor/build index 4108fbdd..baf22adb 100755 --- a/projects/convertor/build +++ b/projects/convertor/build @@ -84,6 +84,16 @@ else SHELL="/usr/local/bin/bash" fi +if [ -z "$CC" ] +then + CC=gcc +fi + +if [ -z "$CXX" ] +then + CXX=g++ +fi + echo -n "Checking CC... " $CC --version > /dev/null 2> /dev/null if [ $? != 0 ] diff --git a/projects/rlm_stg/build b/projects/rlm_stg/build index 81593334..82677927 100755 --- a/projects/rlm_stg/build +++ b/projects/rlm_stg/build @@ -89,6 +89,16 @@ else CXXFLAGS="$CXXFLAGS -DHAVE_CLOSEFROM" fi +if [ -z "$CC" ] +then + CC=gcc +fi + +if [ -z "$CXX" ] +then + CXX=g++ +fi + echo -n "Checking CC... " $CC --version > /dev/null 2> /dev/null if [ $? != 0 ] diff --git a/projects/rscriptd/build b/projects/rscriptd/build index 88fcef0b..38ec5fc1 100755 --- a/projects/rscriptd/build +++ b/projects/rscriptd/build @@ -94,6 +94,16 @@ else SHELL="/usr/local/bin/bash" fi +if [ -z "$CC" ] +then + CC=gcc +fi + +if [ -z "$CXX" ] +then + CXX=g++ +fi + echo -n "Checking CC... " $CC --version > /dev/null 2> /dev/null if [ $? != 0 ] diff --git a/projects/sgauth/build b/projects/sgauth/build index 81a897f9..1c3eb67a 100755 --- a/projects/sgauth/build +++ b/projects/sgauth/build @@ -92,6 +92,16 @@ else SHELL="/usr/local/bin/bash" fi +if [ -z "$CC" ] +then + CC=gcc +fi + +if [ -z "$CXX" ] +then + CXX=g++ +fi + echo -n "Checking CC... " $CC --version > /dev/null 2> /dev/null if [ $? != 0 ] diff --git a/projects/sgauthstress/build b/projects/sgauthstress/build index c4f254d2..6cca9adb 100755 --- a/projects/sgauthstress/build +++ b/projects/sgauthstress/build @@ -96,6 +96,16 @@ else SHELL="/usr/local/bin/bash" fi +if [ -z "$CC" ] +then + CC=gcc +fi + +if [ -z "$CXX" ] +then + CXX=g++ +fi + echo -n "Checking CC... " $CC --version > /dev/null 2> /dev/null if [ $? != 0 ] diff --git a/projects/sgconf/build b/projects/sgconf/build index c0cb49b6..44f6e617 100755 --- a/projects/sgconf/build +++ b/projects/sgconf/build @@ -91,6 +91,16 @@ else SHELL="/usr/local/bin/bash" fi +if [ -z "$CC" ] +then + CC=gcc +fi + +if [ -z "$CXX" ] +then + CXX=g++ +fi + echo -n "Checking CC... " $CC --version > /dev/null 2> /dev/null if [ $? != 0 ] diff --git a/projects/sgconf_xml/build b/projects/sgconf_xml/build index 77924a9c..ea18daef 100755 --- a/projects/sgconf_xml/build +++ b/projects/sgconf_xml/build @@ -91,6 +91,16 @@ else SHELL="/usr/local/bin/bash" fi +if [ -z "$CC" ] +then + CC=gcc +fi + +if [ -z "$CXX" ] +then + CXX=g++ +fi + echo -n "Checking CC... " $CC --version > /dev/null 2> /dev/null if [ $? != 0 ] diff --git a/projects/stargazer/build b/projects/stargazer/build index c2b171a4..a83ab8fe 100755 --- a/projects/stargazer/build +++ b/projects/stargazer/build @@ -59,7 +59,7 @@ MIN_XMLRPCC_VERSION="1.06.27" XMLRPC_FEATURES="c++2 abyss-server" -if [ -z $1 ] +if [ -z "$1" ] then DEFS="$DEFS -DNDEBUG" MAKEOPTS="-j1" @@ -158,6 +158,16 @@ else SHELL="/usr/local/bin/bash" fi +if [ -z "$CC" ] +then + CC=gcc +fi + +if [ -z "$CXX" ] +then + CXX=g++ +fi + echo -n "Checking CC... " $CC --version > /dev/null 2> /dev/null if [ $? != 0 ]