configure: Add new --enable-install-elfh option.
authorMark Wielaard <mark@klomp.org>
Fri, 18 Jan 2019 13:18:22 +0000 (14:18 +0100)
committerMark Wielaard <mark@klomp.org>
Thu, 31 Jan 2019 22:51:17 +0000 (23:51 +0100)
commitb63007ed58d23afdd64a4e77a447a12b64c5bced
tree75243cab4b80cd2bb2fffc5558e202a454240461
parentfe7d3f3635e66fe8ec1fde91f886857b0dea7d22
configure: Add new --enable-install-elfh option.

We explicitly test (with system-elf-libelf) that our include headers
work with the system elf.h header. But it might be helpful to install
the elf.h file for a private install. Our elf.h header really is just
a copy of the latest glibc elf.h. But it might be newer and include
more constants than the system installed elf.h.

Add a new configure option --enable-install-elfh to install elf.h.
But warn when it is enabled for the default /usr or /usr/local prefix
because it might clash with the glibc/system elf.h header in that case.

Signed-off-by: Mark Wielaard <mark@klomp.org>
ChangeLog
configure.ac
libelf/ChangeLog
libelf/Makefile.am
tests/ChangeLog
tests/Makefile.am