1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/sh run () { echo "running: $*" eval $* if test $? != 0 ; then echo "error: while running '$*'" exit 1 fi } run aclocal run libtoolize -f run autoheader run automake -a run autoconf