From 65f8c7478f3ac56f0c86e8dc0e04e25a5d788ffd Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 6 Sep 2016 07:44:39 -0400 Subject: [PATCH] Add IS_DARWIN check for MacPorts compilers --- cryptest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cryptest.sh b/cryptest.sh index 45d3c647..2da4f7bc 100755 --- a/cryptest.sh +++ b/cryptest.sh @@ -4638,7 +4638,7 @@ fi ############################################ # Perform a quick check with MacPorts compilers, if available. -if [[ ("$MACPORTS_COMPILER" -eq "0") ]]; then +if [[ ("$IS_DARWIN" -ne "0" && "$MACPORTS_COMPILER" -eq "0") ]]; then MACPORTS_CXX=$(find /opt/local/bin -name 'g++-mp-4*' 2>/dev/null | head -1) if [[ (-z "$MACPORTS_CXX") ]]; then