rocky / remake

Enhanced GNU Make - tracing, error reporting, debugging, profiling and more
http://bashdb.sf.net/remake
GNU General Public License v3.0
785 stars 73 forks source link

autogen.sh should exit with non-zero if one of its commands fails #137

Open vivanishin opened 2 years ago

vivanishin commented 2 years ago

Right now, if, say configure fails, autogen.sh would continue execution and exit with the exit code of the last command. (Caught this on a box with missing libreadline.)

This is rarely needed, because distributions normally use tarballs (and thus skip autogen.sh altogether), but it affects the scripting of building from git.

rocky commented 2 years ago

Feel free to put in a PR for this.