-#!/bin/sh
+#!/bin/bash
-function show_help
+show_help()
{
cat << EOF
Non-autotool config script for MLT.
echo
}
-function build_config
+build_config()
{
(
echo "version=$version"
echo -n > packages.dat
}
-function build_pkgconfig
+build_pkgconfig()
{
for i in framework valerie miracle
do
export prefix=/usr/local
export libdir=""
export help=0
-export version=0.2.1
+export version=0.2.3
export debug=true
export mmx=true
export gpl=false
fi
# Show help if requested
-[ $help = 1 ] && show_help || build_config
+if [ $help = 1 ]
+then
+ show_help
+else
+ # Log the configuration history
+ date >> config.log
+ echo "$0 $@" >> config.log
+
+ build_config
+fi
# Iterate through each of the components
for i in framework modules inigo valerie miracle humperdink