X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=configure;h=02afe84ec744e981392619215071de1460f6a90a;hb=cb4fe9e9f9f279dce4ed45467cdc5c6c62970605;hp=5180e458f434d6b343ea1ba5b1fbedf7f8d5caae;hpb=3cafdc0fe6c5ee83012f3ae1c7bf4d7ec9dca5b1;p=melted diff --git a/configure b/configure index 5180e45..02afe84 100755 --- a/configure +++ b/configure @@ -1,5 +1,8 @@ #!/bin/bash +export version=0.3.1 +export soversion=1 + show_help() { cat << EOF @@ -14,7 +17,6 @@ General build options: --prefix=directory - install prefix for path (default: $prefix) --libdir=directory - lib directory (default: $prefix/lib) --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) @@ -38,6 +40,7 @@ build_config() { ( echo "version=$version" + echo "soversion=$soversion" echo "prefix=$prefix" echo "libdir=$libdir" echo "bindir=$prefix/bin" @@ -54,7 +57,7 @@ build_config() [ "$cpu" != "" ] && echo "TARGETARCH=-march=$cpu" && echo "TARGETCPU=-mcpu=$cpu" - echo "OPTIMISATIONS=-O4 -pipe -fomit-frame-pointer" + echo "OPTIMISATIONS=-O3 -pipe -fomit-frame-pointer" echo "CFLAGS+=-Wall -fPIC -DPIC \$(TARGETARCH) \$(TARGETCPU) \$(OPTIMISATIONS) \$(MMX_FLAGS) \$(DEBUG_FLAGS) \$(LARGE_FILE)" @@ -115,12 +118,10 @@ export build_dir=`dirname $0` export prefix=/usr/local export libdir="" export help=0 -export version=0.2.5 export debug=true export mmx=true export gpl=false export cpu= -export motionest=false # Determine OS targetos=$(uname -s) @@ -149,7 +150,6 @@ do --disable-debug ) debug=false ;; --disable-mmx ) mmx=false ;; --enable-gpl ) gpl=true ;; - --enable-motion-est ) motionest=true ;; --cpu=* ) cpu="${i#--cpu=}" ;; esac done @@ -197,8 +197,3 @@ build_pkgconfig ( [ "$gpl" = "false" ] && 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