-#!/bin/sh
+#!/bin/bash
function show_help
{
export prefix=/usr/local
export libdir=""
export help=0
-export version=0.1.1
+export version=0.2.2
export debug=true
export mmx=true
export gpl=false
# Determine the libdir if it's not specified in the args
[ "$libdir" = "" ] && libdir=$prefix/lib
-echo $libdir
# Double check mmx (may end up disabling mmx on non-linux platforms incorrectly)
if [ "$mmx" = "true" ]
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