relocatable.h has partial support for building without --enable-relocatable: it #defines relocate and relocate2 to empty macros. This is great! Could macros be similarly added for the other relocatable.h APIs, namely set_relocation_prefix and compute_curr_prefix? This would allow relocate-using code to be entirely #ifdef free. This would help me currently because I am using this module from Vala. Vala's compiler outputs C sources. In order to avoid the user of my package needing a Vala compiler, I am taking advantage of automake's support for shipping the generated C sources, and allowing the user to compile those directly. However, this means that my Vala source code cannot depend on configure-time settings. Further, Vala does not offer any way to generate #ifdef-guarded C code. My current solution for this situation, which I also face for Windows-specific code, is to have separate Vala files which are built or not according to automake settings. For relocatable, I can also simply define my own empty macros for the above APIs, and insert them in config.h with AH_BOTTOM. But this made my wonder why some of the APIs, but not all, are already provided with "empty" versions like this. -- https://rrt.sc3d.org