* configure.ac (libelf): check against elf_getshdrstrndx() rather
than just elf_begin() only, so it is clear we found a sufficiently recent libelf to work with. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1272 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
78133fdfba
commit
8437de71d1
|
@ -1,3 +1,9 @@
|
||||||
|
2014-01-22 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||||
|
|
||||||
|
* configure.ac (libelf): check against elf_getshdrstrndx() rather
|
||||||
|
than just elf_begin() only, so it is clear we found a sufficiently
|
||||||
|
recent libelf to work with.
|
||||||
|
|
||||||
2014-01-22 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
2014-01-22 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||||
|
|
||||||
Contributed by Alan Horstmann:
|
Contributed by Alan Horstmann:
|
||||||
|
|
|
@ -82,7 +82,7 @@ AC_CHECK_LIB([ncurses], [tputs])
|
||||||
AC_CHECK_LIB([readline], [readline])
|
AC_CHECK_LIB([readline], [readline])
|
||||||
AH_TEMPLATE([HAVE_LIBELF],
|
AH_TEMPLATE([HAVE_LIBELF],
|
||||||
[Define if ELF support is enabled via libelf])
|
[Define if ELF support is enabled via libelf])
|
||||||
AC_CHECK_LIB([elf], [elf_begin], [have_libelf=yes])
|
AC_CHECK_LIB([elf], [elf_getshdrstrndx], [have_libelf=yes])
|
||||||
if test x$have_libelf = xyes; then
|
if test x$have_libelf = xyes; then
|
||||||
case $target in
|
case $target in
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in New Issue