Commit 54ce880a authored by James Almer's avatar James Almer

Partially revert "Merge commit '71a49fe2'"

Revert back to the test as done by commit af7a75cb,
where it was changed to compile and not just preprocess to fix build failures on
FreeBSD with gcc 4.7
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent d679f3d0
...@@ -4833,7 +4833,7 @@ check_cxxflags -std=c++11 || check_cxxflags -std=c++0x ...@@ -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 # some compilers silently accept -std=c11, so we also need to check that the
# version macro is defined properly # 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 || add_cflags -std=c11 ||
check_cflags -std=c99 check_cflags -std=c99
......
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