[FFmpeg-cvslog] configure: Move enabling libc_type into probe_libc() function

Diego Biurrun git at videolan.org
Sun Nov 12 04:25:19 EET 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sat Sep 23 16:35:49 2017 +0200| [c6496de33456f20144b994ac38f308f2de333608] | committer: Diego Biurrun

configure: Move enabling libc_type into probe_libc() function

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

 configure | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure b/configure
index d74a83e239..706f1073ee 100755
--- a/configure
+++ b/configure
@@ -4147,12 +4147,11 @@ EOF
         eval ${pfx}libc_type=default
         add_${pfx}cppflags -D_DEFAULT_SOURCE
     fi
+    eval test -n "\${${pfx}libc_type}" && enable ${pfx}libc_${libc_type}
 }
 
 probe_libc
-test -n "$libc_type" && enable libc_$libc_type
 probe_libc host_
-test -n "$host_libc_type" && enable host_libc_$host_libc_type
 
 # hacks for compiler/libc/os combinations
 



More information about the ffmpeg-cvslog mailing list