Improve error reporting in autogen.sh by redirecting the autoreconf dependency check's error message to stderr.
Impact
This PR modifies autogen.sh in the root directory.
- No change to the functional behavior of these files.
- Enhances error reporting by directing error messages to stderr, aligning with best practices.
Background
9 years ago: Added the check for the
autoreconfdependency to theautogen.shbuild script. This check avoids anot founderror because the next line runs autoreconf.- Original error message:
./autogen.sh: 9: ./autogen.sh: autoreconf: not found - Updated error message:
configuration failed, please install autoconf first - Link to commit to the commit.
- Original error message:
5 years ago: Updated the check from
whichtocommand -vto improve portability and reliability as part of a large lint refactor.- Link to commit to that commit.