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 (-8 / +8 lines)
Lines 271-283 AS_CASE(["$host_os:$build_os"], Link Here
271
    # clang version 1.0 (http://llvm.org/svn/llvm-project/cfe/tags/Apple/clang-23 exported)
271
    # clang version 1.0 (http://llvm.org/svn/llvm-project/cfe/tags/Apple/clang-23 exported)
272
    # Apple clang version 2.0 (tags/Apple/clang-137) (based on LLVM 2.9svn)
272
    # Apple clang version 2.0 (tags/Apple/clang-137) (based on LLVM 2.9svn)
273
    # Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)
273
    # Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)
274
    AS_IF([! $CC -E -xc - <<SRC >/dev/null], [
274
    AC_PREPROC_IFELSE(
275
	@%:@if defined __APPLE_CC__ && defined __clang_major__ && __clang_major__ < 3
275
	[AC_LANG_PROGRAM([
276
	@%:@error premature clang
276
	    @%:@if defined __APPLE_CC__ && defined __clang_major__ && __clang_major__ < 3
277
	@%:@endif
277
	    @%:@error premature clang
278
SRC
278
	    @%:@endif
279
	AC_MSG_ERROR([clang version 3.0 or later is required])
279
	])],
280
    ])
280
	[],
281
	[AC_MSG_ERROR([clang version 3.0 or later is required])])
281
])
282
])
282
283
283
AS_CASE(["$target_os"],
284
AS_CASE(["$target_os"],
284
- 

Return to bug 765010