]> git.stg.codes - stg.git/blobdiff - projects/rlm_stg/build
Added a wrapper for correct oid comparsion
[stg.git] / projects / rlm_stg / build
index 815933340fc92e9c082abcb2a1ad295a49dcbd2b..82677927a7a8614f6955923c6fc4ddb0406dc694 100755 (executable)
@@ -89,6 +89,16 @@ else
     CXXFLAGS="$CXXFLAGS -DHAVE_CLOSEFROM"
 fi
 
     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 ]
 echo -n "Checking CC... "
 $CC --version > /dev/null 2> /dev/null
 if [ $? != 0 ]