]> git.sesse.net Git - x264/commitdiff
configure: Disable CLI libraries when CLI is disabled
authorHenrik Gramner <henrik@gramner.com>
Sun, 24 Jan 2016 22:58:40 +0000 (23:58 +0100)
committerHenrik Gramner <henrik@gramner.com>
Mon, 11 Apr 2016 14:58:22 +0000 (16:58 +0200)
configure

index 741f6d69e87dcb787bd4caa7ba0279d2917fc7d7..31f3661f8e841d9b16e9c82bf9da5e6badf42520 100755 (executable)
--- 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