We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 21dd4e2 + 44d487d commit 4757d9bCopy full SHA for 4757d9b
configure
@@ -899,6 +899,18 @@ then
899
fi
900
901
902
+# If the clang isn't already enabled, check for GCC, and if it is missing, turn
903
+# on clang as a backup.
904
+if [ -z "$CFG_ENABLE_CLANG" ]
905
+then
906
+ CFG_GCC_VERSION=$("$CFG_GCC" --version 2>&1)
907
+ if [ $? -ne 0 ]
908
+ then
909
+ step_msg "GCC not installed, will try using Clang"
910
+ CFG_ENABLE_CLANG=1
911
+ fi
912
+fi
913
+
914
# Okay, at this point, we have made up our minds about whether we are
915
# going to force CFG_ENABLE_CLANG or not; save the setting if so.
916
if [ ! -z "$CFG_ENABLE_CLANG" ]
0 commit comments