[FFmpeg-cvslog] Partially revert "Merge commit '71a49fe25f2e4468fbbadbebef8d073b1b3cc1a5'"

James Almer git at videolan.org
Sun Oct 1 19:15:48 EEST 2017


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Oct  1 12:57:48 2017 -0300| [54ce880a4646541b53921ec3720086db22643e03] | committer: James Almer

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 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=54ce880a4646541b53921ec3720086db22643e03
---

 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
 



More information about the ffmpeg-cvslog mailing list