[PATCH] configure: Add new --enable-install-elfh option.
Thu Jan 24 17:53:00 GMT 2019
On Fri, 2019-01-18 at 14:03 +0000, Ulf Hermann wrote:
> I think you should also adapt tests/Makefile.am to use our own elf.h
> this case. See https://codereview.qt-project.org/#/c/187812/25 for
> solution to this.
Yes, it should indeed.
I used a slightly different solution though.
It relies on the default include flags already including the srcdirs.
Does that work for your use case too? (See revised patch attached.)
I looked at the features.h tweak also in your patch.
But I am not comfortable including something like that.
It feels like it needs a different test (whether we are actually on a
POSIX system or not). And I am not sure it really should define uid_t,
gid_t, mode_t, and pid_t. Those normally don't come from features.h
(they would come from sys/types.h).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4932 bytes
Desc: not available
More information about the Elfutils-devel