mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-20 23:20:34 +01:00
[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:
parent
51bd27afa1
commit
a3f393cf64
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue