1 #!/bin/sh 2 3 die() 4 { 5 echo "$1" >&2 6 exit $2 7 } 8 9 autoreconf -f -i -v || die "autoreconf failed" $?