[FFmpeg-cvslog] configure: Add stdlib.h #include to CPPFLAGS check helper functions
Diego Biurrun
git at videolan.org
Wed Sep 27 18:45:45 EEST 2017
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Feb 3 10:15:40 2017 +0100| [0ce3761c781f2c2de40a5a8a99563878804f47cc] | committer: Diego Biurrun
configure: Add stdlib.h #include to CPPFLAGS check helper functions
This ensures that added CPPFLAGS are validated against libc headers.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0ce3761c781f2c2de40a5a8a99563878804f47cc
---
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 555dc8861e..32ab7329e3 100755
--- a/configure
+++ b/configure
@@ -872,7 +872,7 @@ check_code(){
check_cppflags(){
log check_cppflags "$@"
check_cpp "$@" <<EOF && append CPPFLAGS "$@"
-int x;
+#include <stdlib.h>;
EOF
}
@@ -1166,7 +1166,7 @@ check_host_cpp(){
check_host_cppflags(){
log check_host_cppflags "$@"
check_host_cpp "$@" <<EOF && append host_cppflags "$@"
-int x;
+#include <stdlib.h>;
EOF
}
More information about the ffmpeg-cvslog
mailing list