Test for libelf.h in subdirectory libelf, too, and inlude it from there if test

was positive.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1093 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch
2012-07-18 12:42:47 +00:00
parent d486a0a1cd
commit a8b5742512
3 changed files with 11 additions and 1 deletions

View File

@@ -84,7 +84,7 @@ if test x$have_libelf = xyes; then
;;
esac
AC_DEFINE([HAVE_LIBELF])
AC_CHECK_HEADERS([libelf.h])
AC_CHECK_HEADERS([libelf.h libelf/libelf.h])
fi
AC_SUBST(LIBELF, $LIBELF)