Catch some buildsystem errors
This catches some errors which can happen in the build system:
-
If
autoreconffails for some reason (exit with code != 0), there is no good reason for theautogen.shscript to succeed.(exit with code 0). -
If the system does not have libtool installed, the
LT_INITm4 macro is not available and therefore theconfigurescript cannot be generated properly. This should result inautoreconfaborting with an error, and not in theconfigurescript containing a line of verbatimLT_INIT([disable-static win32-dll pic-only]).m4_pattern_forbidprovides just that.
JFTR, I stumbled upon this due to https://stackoverflow.com/questions/73355119/error-libtool-library-used-but-libtool-is-undefined-but-libtool-installed-on.
We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, please fill https://forms.gle/5635zjphDo5JEJQSA to get added. Your document will be manually checked by the maintainer. Be patient...
Thank you @ndim. No need CLA for minor changes (even more when there are not in source code). Merged.