mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Corrected comparison operators to be POSIX-compliant
Reduced the required gcc version to 4.3.2
This commit is contained in:
@ -32,7 +32,7 @@
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# Base settings
|
# Base settings
|
||||||
MIN_VERSION_GCC=4.3.3
|
MIN_VERSION_GCC=4.3.2
|
||||||
|
|
||||||
# General
|
# General
|
||||||
WIDTH=20
|
WIDTH=20
|
||||||
@ -270,7 +270,7 @@ reportExecutable()
|
|||||||
pass="yes"
|
pass="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$pass" == "" ] && [ "$gccOk" == "" ]; then
|
if [ "$pass" = "" ] && [ "$gccOk" = "" ]; then
|
||||||
if [ $V2 -lt $MINV2 ]; then
|
if [ $V2 -lt $MINV2 ]; then
|
||||||
gccOk="ERROR"
|
gccOk="ERROR"
|
||||||
elif [ $V2 -gt $MINV2 ]; then
|
elif [ $V2 -gt $MINV2 ]; then
|
||||||
@ -278,7 +278,7 @@ reportExecutable()
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$pass" == "" ] && [ "$gccOk" == "" ] && [ $V3 != "" ] && [ $MINV3 != "" ]; then
|
if [ "$pass" = "" ] && [ "$gccOk" = "" ] && [ $V3 != "" ] && [ $MINV3 != "" ]; then
|
||||||
if [ $V3 -lt $MINV3 ]; then
|
if [ $V3 -lt $MINV3 ]; then
|
||||||
gccOk="ERROR"
|
gccOk="ERROR"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user