Partially revert "Merge commit '71a49fe25f2e4468fbbadbebef8d073b1b3cc1a5'"
Revert back to the test as done by commit af7a75cb517141f649cbbe0a9dcdb4854359b740, where it was changed to compile and not just preprocess to fix build failures on FreeBSD with gcc 4.7 Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
d679f3d021
commit
54ce880a46
2
configure
vendored
2
configure
vendored
@ -4833,7 +4833,7 @@ check_cxxflags -std=c++11 || check_cxxflags -std=c++0x
|
||||
|
||||
# some compilers silently accept -std=c11, so we also need to check that the
|
||||
# version macro is defined properly
|
||||
check_cpp_condition ctype.h "__STDC_VERSION__ >= 201112L" -std=c11 &&
|
||||
test_cflags_cc -std=c11 ctype.h "__STDC_VERSION__ >= 201112L" &&
|
||||
add_cflags -std=c11 ||
|
||||
check_cflags -std=c99
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user