Browse Source

* common.m4: Add test for libz and zlib.h.

binutils-arc-20080908-branch
Hans-Peter Nilsson 18 years ago
parent
commit
ecdfd00481
  1. 4
      sim/common/common.m4

4
sim/common/common.m4

@ -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…
Cancel
Save