aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-10-01 12:57:48 -0300
committerJames Almer <jamrial@gmail.com>2017-10-01 12:59:37 -0300
commit54ce880a4646541b53921ec3720086db22643e03 (patch)
tree5ebd46d17ca994f1cbe3422e92416260b7eeda62
parentd679f3d021787014f4e188f3694393f183061278 (diff)
downloadffmpeg-54ce880a4646541b53921ec3720086db22643e03.tar.gz
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>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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