vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sat Jul  2 
00:20:08 2011 +0300| [a62a3ce0bf1c5cea29e2b4cd545e7824c872d47e] | committer: 
Rémi Denis-Courmont

contrib: add bootstrap options for sout and optical discs support

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

 contrib/bootstrap |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/contrib/bootstrap b/contrib/bootstrap
index b504173..87d9e4f 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -26,6 +26,8 @@ usage()
        echo "  --prefix=PREFIX  install files in PREFIX"
        echo "  --disable-FOO    configure to not build package FOO"
        echo "  --enable-FOO     configure to build package FOO"
+       echo "  --disable-disc   configure to not build optical discs packages"
+       echo "  --disable-sout   configure to not build stream output packages"
 }
 
 BUILD=
@@ -33,6 +35,8 @@ HOST=
 PREFIX=
 PKGS_ENABLE=
 PKGS_DISABLE=
+BUILD_ENCODERS="1"
+BUILD_DISCS="1"
 
 if test ! -f "../src/main.mak"
 then
@@ -56,6 +60,12 @@ do
                --prefix=*)
                        PREFIX="${1#--prefix=}"
                        ;;
+               --disable-disc)
+                       BUILD_DISCS=
+                       ;;
+               --disable-sout)
+                       BUILD_ENCODERS=
+                       ;;
                --disable-*)
                        PKGS_DISABLE="${PKGS_DISABLE} ${1#--disable-}"
                        ;;
@@ -134,6 +144,9 @@ add_make_enabled()
        done
 }
 
+test -z "$BUILD_DISCS" || add_make_enabled "BUILD_DISCS"
+test -z "$BUILD_ENCODERS" || add_make_enabled "BUILD_ENCODERS"
+
 #
 # Checks
 #
@@ -158,7 +171,6 @@ case "${OS}" in
                add_make_enabled "HAVE_WINCE"
                ;;
 esac
-add_make_enabled "BUILD_ENCODERS"
 
 #
 # Results output

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to