[configure] Also check for libiberty.h

cairo-trace also uses the libiberty.h without checking for its presence --
causing a build failure if bfd was installed but not that header.
This commit is contained in:
Chris Wilson 2009-08-06 09:52:34 +01:00
parent 51bd27afa1
commit a3f393cf64

View file

@ -618,6 +618,7 @@ AM_CONDITIONAL(BUILD_TRACE,
AC_CHECK_LIB(bfd, bfd_openr,
[AC_CHECK_HEADER(bfd.h, [have_bfd=yes],
[have_bfd=no])], [have_bfd=no])
AC_CHECK_HEADER(libiberty.h,, [have_bfd=no])
if test "x$have_bfd" = "xyes"; then
AC_DEFINE([HAVE_BFD], [1], [Define to 1 if you have the binutils development files installed])
BFD_LIBS=-lbfd