#!/bin/sh
#

run_cmd() {
    echo running $* ...
    if ! $*; then
			echo failed!
			exit 1
    fi
}


run_cmd aclocal
run_cmd autoheader
run_cmd libtoolize --force --copy
run_cmd automake --add-missing --copy
run_cmd autoconf

echo
echo "Now type './configure' to configure TwoLAME"
echo

#!/bin/sh
#

run_cmd() {
    echo running $* ...
    if ! $*; then
			echo failed!
			exit 1
    fi
}

# Create the (empty) build directory if it doesn't exist
if ! [ -d build ]; then
	echo "creating build directory"
	mkdir build
fi

run_cmd aclocal
run_cmd autoheader
run_cmd libtoolize --force --copy
run_cmd automake --add-missing --copy
run_cmd autoconf

echo
echo "Now type './configure' to configure TwoLAME"
echo

Create the (empty) build directory if it doesn't exist
Create the (empty) build directory if it doesn't exist


git-svn-id: b2b7e8d0b58002f80334ba17ab82a893e0708d5b@19 24616d55-7714-0410-b2f5-c000b2ba9aa2
