Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 765010 | Differences between
and this patch

Collapse All | Expand All

(-)a/configure.ac (-7 / +8 lines)
Lines 177-189 AS_CASE(["$host_os:$build_os"], Link Here
177
    # clang version 1.0 (http://llvm.org/svn/llvm-project/cfe/tags/Apple/clang-23 exported)
177
    # clang version 1.0 (http://llvm.org/svn/llvm-project/cfe/tags/Apple/clang-23 exported)
178
    # Apple clang version 2.0 (tags/Apple/clang-137) (based on LLVM 2.9svn)
178
    # Apple clang version 2.0 (tags/Apple/clang-137) (based on LLVM 2.9svn)
179
    # Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)
179
    # Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)
180
    AS_IF([! $CC -E -xc - <<SRC >/dev/null], [
180
    AC_PREPROC_IFELSE(
181
	@%:@if defined __APPLE_CC__ && defined __clang_major__ && __clang_major__ < 3
181
	[AC_LANG_PROGRAM([
182
	@%:@error premature clang
182
	    @%:@if defined __APPLE_CC__ && defined __clang_major__ && __clang_major__ < 3
183
	@%:@endif
183
	    @%:@error premature clang
184
SRC
184
	    @%:@endif
185
	AC_MSG_ERROR([clang version 3.0 or later is required])
185
	])],
186
    ])],
186
	[],
187
	[AC_MSG_ERROR([clang version 3.0 or later is required])])],
187
[openbsd*:openbsd*], [
188
[openbsd*:openbsd*], [
188
    AC_CHECK_TOOLS(CC, [cc])
189
    AC_CHECK_TOOLS(CC, [cc])
189
])
190
])

Return to bug 765010