[x264-devel] configure: Disable CLI libraries when CLI is disabled

Henrik Gramner git at videolan.org
Tue Apr 12 20:36:14 CEST 2016


x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Sun Jan 24 23:58:40 2016 +0100| [7650a1367003e24f4f1b831682c012b5ba3e6c69] | committer: Henrik Gramner

configure: Disable CLI libraries when CLI is disabled

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=7650a1367003e24f4f1b831682c012b5ba3e6c69
---

 configure |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/configure b/configure
index 741f6d6..31f3661 100755
--- a/configure
+++ b/configure
@@ -976,6 +976,16 @@ if [ "$SYS" = "LINUX" -a \( "$ARCH" = "X86" -o "$ARCH" = "X86_64" \) ] && cc_che
     define HAVE_THP
 fi
 
+if [ "$cli" = "no" ] ; then
+    avs="no"
+    lavf="no"
+    ffms="no"
+    gpac="no"
+    lsmash="no"
+    mp4="no"
+    swscale="no"
+fi
+
 if [ "$swscale" = "auto" ] ; then
     swscale="no"
     if ${cross_prefix}pkg-config --exists libswscale 2>/dev/null; then



More information about the x264-devel mailing list