|
@@ -112,9 +112,9 @@ if [ -z "$COMPILER_VERSION" ] ; then
|
|
|
fi;
|
|
|
COMPILER_MAJOR=$(echo $COMPILER_VERSION | sed -e "s/\..*//g")
|
|
|
COMPILER_MINOR=$(echo $COMPILER_VERSION | sed -e "s/^$COMPILER_MAJOR\.//g" -e "s/\..*//g")
|
|
|
-if [ $COMPILER_MAJOR -lt 3 -o $COMPILER_MAJOR -eq 2 -a $COMPILER_MINOR -lt 95 ] ; then
|
|
|
+if [ $COMPILER_MAJOR -lt 4 -o $COMPILER_MAJOR -eq 4 -a $COMPILER_MINOR -lt 8 ] ; then
|
|
|
echo
|
|
|
- echo "You have gcc '$COMPILER_VERSION' installed. gcc >= 2.95 is required"
|
|
|
+ echo "You have gcc '$COMPILER_VERSION' installed. gcc >= 4.8 is required"
|
|
|
exit 1;
|
|
|
fi;
|
|
|
|
|
@@ -140,9 +140,9 @@ fi
|
|
|
if [ -n "$CXXCOMPILER_VERSION" ] ; then
|
|
|
CXXCOMPILER_MAJOR=$(echo $CXXCOMPILER_VERSION | sed -e "s/\..*//g")
|
|
|
CXXCOMPILER_MINOR=$(echo $CXXCOMPILER_VERSION | sed -e "s/^$CXXCOMPILER_MAJOR\.//g" -e "s/\..*//g")
|
|
|
- if [ $CXXCOMPILER_MAJOR -lt 3 -o $CXXCOMPILER_MAJOR -eq 2 -a $CXXCOMPILER_MINOR -lt 95 ] ; then
|
|
|
+ if [ $CXXCOMPILER_MAJOR -lt 4 -o $CXXCOMPILER_MAJOR -eq 4 -a $CXXCOMPILER_MINOR -lt 8 ] ; then
|
|
|
echo
|
|
|
- echo "You have g++ '$CXXCOMPILER_VERSION' installed. g++ >= 2.95 is required"
|
|
|
+ echo "You have g++ '$CXXCOMPILER_VERSION' installed. g++ >= 4.8 is required"
|
|
|
exit 1
|
|
|
fi
|
|
|
fi
|