diff options
Diffstat (limited to 'sim/ppc/configure.ac')
-rw-r--r-- | sim/ppc/configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/ppc/configure.ac b/sim/ppc/configure.ac index 076f294..730091b 100644 --- a/sim/ppc/configure.ac +++ b/sim/ppc/configure.ac @@ -571,6 +571,10 @@ AC_DEFINE_UNQUOTED([REPORT_BUGS_TO], ["$REPORT_BUGS_TO"], [Bug reporting address AC_CANONICAL_SYSTEM AC_ARG_PROGRAM +# BFD conditionally uses zlib, so we must link it in if libbfd does, by +# using the same condition. +AC_SEARCH_LIBS(zlibVersion, z, [AC_CHECK_HEADERS(zlib.h)]) + . ${srcdir}/../../bfd/configure.host case ${host} in |