summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 0ec69229a8..31d682575e 100755
--- a/configure
+++ b/configure
@@ -576,11 +576,11 @@ def get_version_helper(cc, regexp):
def get_llvm_version(cc):
return get_version_helper(
- cc, r"(^clang version|based on LLVM) ([3-9]\.[0-9]+)")
+ cc, r"(^(?:FreeBSD )?clang version|based on LLVM) ([3-9]\.[0-9]+)")
def get_xcode_version(cc):
return get_version_helper(
- cc, r"(^Apple LLVM version) ([5-9]\.[0-9]+)")
+ cc, r"(^Apple LLVM version) ([5-9]\.[0-9]+)")
def get_gas_version(cc):
try: