- a/Source/autotools/CheckSystemAndBasicDependencies.m4 -4 / +4 lines
Lines 87-100 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ a/Source/autotools/CheckSystemAndBasicDependencies.m4_sec1
87
#endif
87
#endif
88
])], [c_compiler="gcc"], [])
88
])], [c_compiler="gcc"], [])
89
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
89
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
90
#if !(defined(__clang__) && __clang_major__ >= 3 && __clang_minor__ >= 0)
90
#if !(defined(__clang__) && __clang_major__ >= 3 && __clang_minor__ >= 2)
91
#error Not a supported Clang compiler
91
#error Not a supported Clang compiler
92
#endif
92
#endif
93
])], [c_compiler="clang"], [])
93
])], [c_compiler="clang"], [])
94
AC_LANG_POP([C])
94
AC_LANG_POP([C])
95
95
96
if test "$c_compiler" = "unknown"; then
96
if test "$c_compiler" = "unknown"; then
97
    AC_MSG_ERROR([Compiler GCC >= 4.7 or Clang >= 3.0 is required for C compilation])
97
    AC_MSG_ERROR([Compiler GCC >= 4.7 or Clang >= 3.2 is required for C compilation])
98
fi
98
fi
99
99
100
# Check that an appropriate C++ compiler is available.
100
# Check that an appropriate C++ compiler is available.
Lines 106-119 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ a/Source/autotools/CheckSystemAndBasicDependencies.m4_sec2
106
#endif
106
#endif
107
])], [cxx_compiler="g++"], [])
107
])], [cxx_compiler="g++"], [])
108
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
108
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
109
#if !(defined(__clang__) && __clang_major__ >= 3 && __clang_minor__ >= 0)
109
#if !(defined(__clang__) && __clang_major__ >= 3 && __clang_minor__ >= 2)
110
#error Not a supported Clang++ compiler
110
#error Not a supported Clang++ compiler
111
#endif
111
#endif
112
])], [cxx_compiler="clang++"], [])
112
])], [cxx_compiler="clang++"], [])
113
AC_LANG_POP([C++])
113
AC_LANG_POP([C++])
114
114
115
if test "$cxx_compiler" = "unknown"; then
115
if test "$cxx_compiler" = "unknown"; then
116
    AC_MSG_ERROR([Compiler GCC >= 4.7 or Clang >= 3.0 is required for C++ compilation])
116
    AC_MSG_ERROR([Compiler GCC >= 4.7 or Clang >= 3.2 is required for C++ compilation])
117
fi
117
fi
118
118
119
# C/C++ Language Features
119
# C/C++ Language Features
- a/ChangeLog +10 lines
Lines 1-3 a/ChangeLog_sec1
1
2013-09-06  Zan Dobersek  <zdobersek@igalia.com>
2
3
        [GTK] Bump the required Clang version to 3.2
4
        https://bugs.webkit.org/show_bug.cgi?id=112537
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        * Source/autotools/CheckSystemAndBasicDependencies.m4: Require the Clang 3.2 stack
9
        when the Clang compiler is specified.
10
1
2013-09-05  Brendan Long  <b.long@cablelabs.com>
11
2013-09-05  Brendan Long  <b.long@cablelabs.com>
2
12
3
        [Qt] DefaultFullScreenVideoHandler and PlatformVideoWindow are included in the build when they are disabled
13
        [Qt] DefaultFullScreenVideoHandler and PlatformVideoWindow are included in the build when they are disabled

Return to Bug 112537