KO Myung-Hun wrote:
+ echo '#ifdef __KLIBC__'; \ + echo '# define UNIXROOT "/@unixroot"'; \ + echo '#else'; \ + echo '# define UNIXROOT ""'; \ + echo '#endif'; \ + echo '#define PREFIX UNIXROOT "$(prefix)"'; \ + echo '#define EXEC_PREFIX UNIXROOT "$(exec_prefix)"'; \
...
Instead of this complication, why not simply suggest to OS/2 builders that they build with --prefix=/@unixroot/whatever? That sounds simpler and easier for builders to understand than to have Gnulib do this stuff under the rug.