From 54ce880a4646541b53921ec3720086db22643e03 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 1 Oct 2017 12:57:48 -0300 Subject: [PATCH] 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 8e4775be8c..ae0eddac6c 100755 --- a/configure +++ b/configure @@ -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