From 14cff466718fb8ac6dd6cbc663ee11fd4d0e7ba5 Mon Sep 17 00:00:00 2001 From: Ivan Hu Date: Wed, 20 Jun 2012 11:59:32 +0800 Subject: [PATCH] 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 Signed-off-by: Jeremy Kerr --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index d5f6708..ec117e6 100644 --- a/configure.ac +++ b/configure.ac @@ -17,6 +17,10 @@ AC_PROG_MKDIR_P AC_CHECK_TOOL(OBJCOPY, [objcopy]) 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 AM_MISSING_PROG(HELP2MAN, help2man) else