1 export package=framework
8 --version ) field=-1 ;;
10 --prefix=* ) prefix="${i#--prefix=}" ;;
13 --list ) field=1; package="" ;;
20 then echo "Usage: mlt-config [ --version ] | [ --prefix=dir ] [ [ package ] [ --cflags ] [ --libs ] ]"
21 elif [ "$field" = "-1" ]
23 elif [ "$field" = "-2" ]
24 then config=`which mlt-config`
28 elif [ -f "$prefix/share/mlt/packages.dat" ]
29 then grep "^$package" $prefix/share/mlt/packages.dat | cut -f $field
30 else echo mlt-config cannot find package $package.
32 echo >&2 "mlt-config is deprecated. Please use pkg-config instead."