* common.m4: Add test for libz and zlib.h.
This commit is contained in:
parent
b5bd96244f
commit
ecdfd00481
@ -54,6 +54,10 @@ AC_CHECK_FUNCS(getrusage time sigaction __setfpucw)
|
||||
AC_CHECK_LIB(socket, bind)
|
||||
AC_CHECK_LIB(nsl, gethostbyname)
|
||||
|
||||
# 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
|
||||
|
||||
dnl Standard (and optional) simulator options.
|
||||
|
Loading…
Reference in New Issue
Block a user