Commit fafa5dd7 authored by zandobersek@gmail.com's avatar zandobersek@gmail.com

[GTK] Bump the minimum required Clang version to 3.3

https://bugs.webkit.org/show_bug.cgi?id=127178

Reviewed by Martin Robinson.

* Source/autotools/CheckSystemAndBasicDependencies.m4: Require Clang 3.3 or later when using the Clang compiler to
build the GTK port. Building with Clang 3.2 doesn't work anymore and there's no point in fixing that, as we should
support the latest two versions of Clang (3.3 and 3.4), just like we do with GCC (4.7 and 4.8).


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 61452451
2014-01-18 Zan Dobersek <zdobersek@igalia.com>
[GTK] Bump the minimum required Clang version to 3.3
https://bugs.webkit.org/show_bug.cgi?id=127178
Reviewed by Martin Robinson.
* Source/autotools/CheckSystemAndBasicDependencies.m4: Require Clang 3.3 or later when using the Clang compiler to
build the GTK port. Building with Clang 3.2 doesn't work anymore and there's no point in fixing that, as we should
support the latest two versions of Clang (3.3 and 3.4), just like we do with GCC (4.7 and 4.8).
2014-01-14 Dan Bernstein <mitz@apple.com>
Only use color in make output when it’s going to a terminal.
......
......@@ -92,14 +92,14 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#endif
])], [c_compiler="gcc"], [])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#if !(defined(__clang__) && __clang_major__ >= 3 && __clang_minor__ >= 2)
#if !(defined(__clang__) && __clang_major__ >= 3 && __clang_minor__ >= 3)
#error Not a supported Clang compiler
#endif
])], [c_compiler="clang"], [])
AC_LANG_POP([C])
if test "$c_compiler" = "unknown"; then
AC_MSG_ERROR([Compiler GCC >= 4.7 or Clang >= 3.2 is required for C compilation])
AC_MSG_ERROR([Compiler GCC >= 4.7 or Clang >= 3.3 is required for C compilation])
fi
# Check that an appropriate C++ compiler is available.
......@@ -111,14 +111,14 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#endif
])], [cxx_compiler="g++"], [])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#if !(defined(__clang__) && __clang_major__ >= 3 && __clang_minor__ >= 2)
#if !(defined(__clang__) && __clang_major__ >= 3 && __clang_minor__ >= 3)
#error Not a supported Clang++ compiler
#endif
])], [cxx_compiler="clang++"], [])
AC_LANG_POP([C++])
if test "$cxx_compiler" = "unknown"; then
AC_MSG_ERROR([Compiler GCC >= 4.7 or Clang >= 3.2 is required for C++ compilation])
AC_MSG_ERROR([Compiler GCC >= 4.7 or Clang >= 3.3 is required for C++ compilation])
fi
# C/C++ Headers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment