6 Funky non-autotool config script for MLT.
10 --help - this information
11 --prefix=directory - install prefix for path (default: $prefix)
14 for i in src/modules/*
16 [ -d $i ] && [ "`basename $i`" != "CVS" ] && echo " --disable-`basename $i`"
27 echo bindir=$prefix/bin
30 echo "#!/bin/sh" > mlt-config
31 sed 's/^/export /' < config.mak >> mlt-config
32 cat < mlt-config-template >> mlt-config
34 echo -n > packages.dat
40 # Define build directory for scripts called
41 export build_dir=`dirname $0`
42 export prefix=/usr/local
45 # Iterate through arguments
50 --prefix=* ) prefix="${i#--prefix=}" ;;
54 # Show help if requested
55 [ $help = 1 ] && show_help || build_config
57 # Iterate through each of the components
58 for i in framework modules inigo valerie miracle humperdink
60 if [ -x src/$i/configure ]
62 echo "Configuring `basename $i`:"
63 pushd src/$i > /dev/null