Rework the libelf configure checks one more time
authorMatthias Clasen <mclasen@redhat.com>
Mon, 2 Apr 2012 12:53:20 +0000 (08:53 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 2 Apr 2012 13:09:11 +0000 (09:09 -0400)
commit27d95bd81fabd41367cf000566ee2ccf3651652c
tree12eab16bf7a41cec0e7cb46dfcdf3eac86005f52
parente51c3b4cfe9f24ccf21ee3bd04186fe5c38d95f8
Rework the libelf configure checks one more time

It seems that there is quite a bit of variation out there, in
terms of libelf versions and API. Make the checks more thorough,
by not only checking for elf_begin, but also some of the shdr function
that we need. Also, explicitly check for libelf.h.

This should address bug 673132 and 673253.
configure.ac