1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh die(){ echo "$@" exit } automake || die "The command 'automake $MAKEFILES' failed" aclocal || die "The command 'aclocal' failed" autoheader || die "The command 'autoheader' failed" autoconf || die "The command 'autoconf' failed"