X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=configure;h=cfa00fb0ec6d75c3737c56cf6dad83caf69ebe58;hb=0a15e2cbdef578e7ca7efa4f373b7cb78087b4b7;hp=2adb2c16b505a5e9b287690e6f48f5cae5515c58;hpb=db805d6e2f1945f27bfa7c3a9123f8c4bef5fdc4;p=mlt diff --git a/configure b/configure index 2adb2c16..cfa00fb0 100755 --- a/configure +++ b/configure @@ -13,6 +13,7 @@ General build options: --prefix=directory - install prefix for path (default: $prefix) --enable-gpl - Enable GPL components + --enable-motion-est - Enable motion estimation components --disable-debug - Compile without debug support (default: on) --disable-mmx - Compile without MMX support (default: on) --cpu='cpu' - Compile for a specific CPU/architectre (default: none) @@ -111,6 +112,7 @@ export debug=true export mmx=true export gpl=false export cpu= +export motionest=false # Determine OS targetos=$(uname -s) @@ -138,12 +140,13 @@ do --disable-debug ) debug=false ;; --disable-mmx ) mmx=false ;; --enable-gpl ) gpl=true ;; + --enable-motion-est ) motionest=true ;; --cpu=* ) cpu="${i#--cpu=}" ;; esac done # Double check mmx (may end up disabling mmx on non-linux platforms incorrectly) -if [ "$mmx" == "true" ] +if [ "$mmx" = "true" ] then grep mmx /proc/cpuinfo > /dev/null 2>&1 || mmx=false fi @@ -174,3 +177,7 @@ build_pkgconfig echo "GPL Components are disabled" || echo "GPL License Used" ) +if [ "$motionest" = "true" -a "$gpl" = "false" ] +then + echo "Add the --enable-gpl flag to build the motion estimation components." +fi