configure: Add check for bfh.h
We need bfd.h for the image object, so add a check for it in configure.ac. Signed-off-by: Ivan Hu <ivanh.hu@canonical.com> Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
This commit is contained in:
parent
4d892eb723
commit
14cff46671
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,10 @@ AC_PROG_MKDIR_P
|
||||||
AC_CHECK_TOOL(OBJCOPY, [objcopy])
|
AC_CHECK_TOOL(OBJCOPY, [objcopy])
|
||||||
AC_CHECK_TOOL(STRIP, [strip])
|
AC_CHECK_TOOL(STRIP, [strip])
|
||||||
|
|
||||||
|
AC_CHECK_HEADER([bfd.h], [],
|
||||||
|
AC_MSG_ERROR([bfd.h not found.]
|
||||||
|
[bfd.h is usually distributed in a binutils development package.]))
|
||||||
|
|
||||||
if test $cross_compiling = no; then
|
if test $cross_compiling = no; then
|
||||||
AM_MISSING_PROG(HELP2MAN, help2man)
|
AM_MISSING_PROG(HELP2MAN, help2man)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue