Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] more portable autogen.sh shell script
Use more portable shell function definition, better supported by /bin/sh Some /bin/sh, e.g. dash, do not support trap on ERR, so that will issue some trace and will not trigger on ERR, but the rest of the script runs fine.