From f449e90b3ff46f2914a0495097a71bccff58b21a Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Fri, 15 Jul 2016 16:40:43 -0400 Subject: [PATCH] build: Fix clang detection to require major >= 3. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 76c2812..d8dda91 100755 --- a/configure +++ b/configure @@ -555,7 +555,7 @@ int main(void) { #else return (1); #endif /* __MINGW32__ && __MINGW32_MAJOR_VERSION >= 3 */ -#elif defined(__clang__) && (__clang_major__ >= 4) +#elif defined(__clang__) && (__clang_major__ >= 3) puts("clang"); return (0); #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x5110)