[FFmpeg-cvslog] configure: Provide a safe default for unknonw libcs

Luca Barbato git at videolan.org
Sat Sep 27 18:56:54 CEST 2014


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Sat Sep 27 17:57:23 2014 +0200| [551746680462538bb5ad7adf55fb1248190428ec] | committer: Luca Barbato

configure: Provide a safe default for unknonw libcs

Support musl out of box.

Amend commit 9d2cee52d37c7340f85a5d41110282aac03e6855 that got
wrongly merged in its stead.

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

 configure |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 6125bcb..4513579 100755
--- a/configure
+++ b/configure
@@ -3658,8 +3658,8 @@ probe_libc(){
         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
+        eval ${pfx}libc_type=default
+        add_${pfx}cppflags -D_DEFAULT_SOURCE
     fi
 }
 



More information about the ffmpeg-cvslog mailing list