mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 05:18:01 +02:00
[trace] Only build if we have zlib.
Use the configure check for libz and do not attempt to build the trace unless we have zlib.
This commit is contained in:
parent
34564aa84a
commit
476d5daa9b
1 changed files with 3 additions and 1 deletions
|
|
@ -493,7 +493,9 @@ case $host in
|
|||
;;
|
||||
esac
|
||||
|
||||
AM_CONDITIONAL(BUILD_TRACE, test "x$have_ld_preload" = "xyes")
|
||||
AM_CONDITIONAL(BUILD_TRACE,
|
||||
test "x$have_ld_preload" = "xyes" \
|
||||
-a "x$have_libz" = "xyes")
|
||||
|
||||
AC_CHECK_LIB(bfd, bfd_openr,
|
||||
[AC_CHECK_HEADER(bfd.h, [have_bfd=yes],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue