X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ceffe6cd00a822d29681a0d35d98fc8fb83aa73b..20dae6310b120e89057910ae38c19b5afa2df3f7:/projects/stargazer/build diff --git a/projects/stargazer/build b/projects/stargazer/build index c2b171a4..0b8f30a1 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" @@ -127,6 +127,7 @@ PLUGINS="authorization/ao other/ping other/rscript other/radius + other/smux store/files capture/cap_nf" @@ -158,6 +159,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 ]