<div dir="ltr"><div><span style="color:rgb(32,33,36);font-family:Roboto,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(248,249,250);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">Hi</span></div><div><span style="color:rgb(32,33,36);font-family:Roboto,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(248,249,250);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">
>From time to time I have problems with the options that are automatically selected by configure script on Unix systems (Linux and macOS). The current behaviour is that if nothing is explicitly specified in the command line (like --without-geos or --with-zstd=X), the configure script checks if that particular package is installed in the build machine and links with it if it is present.</span></div><div><span style="color:rgb(32,33,36);font-family:Roboto,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(248,249,250);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">
The problem with that approach comes if you later run on a different machine that might not have that package installed: Then the execution will fail due to missing libraries. This whole procedure makes the compilation dependent on the build machine configuration and it is more difficult to have reproducible builds which are defined solely by code, since you must remember to add any new option that may appear explicitly in your build setup.

Is there any possibility to disable the auto-detection globally, i.e. have an option that disables all features that are not explicitly enabled regardless of the build machine's configuration?</span></div><div><span style="color:rgb(32,33,36);font-family:Roboto,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(248,249,250);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none"><br></span></div><div><span style="color:rgb(32,33,36);font-family:Roboto,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(248,249,250);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">Thanks<br></span></div><div><div dir="ltr" data-smartmail="gmail_signature">.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__<br>Entre dos pensamientos racionales <br>hay infinitos pensamientos irracionales.<br><br></div></div></div>