[FFmpeg-cvslog] configure: Assume a standard-compliant default libc
Luca Barbato
git at videolan.org
Sat Sep 27 02:26:13 CEST 2014
ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Thu Sep 11 15:48:13 2014 +0200| [9d2cee52d37c7340f85a5d41110282aac03e6855] | committer: Luca Barbato
configure: Assume a standard-compliant default libc
Non-standard compliant libc should be supported on a per-case basis
anyway.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9d2cee52d37c7340f85a5d41110282aac03e6855
---
configure | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure b/configure
index 59dd453..6125bcb 100755
--- a/configure
+++ b/configure
@@ -3657,6 +3657,9 @@ probe_libc(){
elif check_${pfx}cpp_condition sys/brand.h "defined LABELED_BRAND_NAME"; then
eval ${pfx}libc_type=solaris
add_${pfx}cppflags -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
+ else
+ eval ${pfx}libc_type=unknown
+ add_${pfx}cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
fi
}
More information about the ffmpeg-cvslog
mailing list