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