From 4474d12b51711449d9e9913d8d16260a2a06b6fc Mon Sep 17 00:00:00 2001 From: Craig Silverstein Date: Sat, 12 Jul 2008 21:36:53 +0000 Subject: 2008-07-12 Craig Silverstein * configure.in: Check for, and include, libz.a if it is present. * configure: Regenerate. * config.in: Regenerate. --- ld/configure.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ld/configure.in') diff --git a/ld/configure.in b/ld/configure.in index 9158d2b..40afab9 100644 --- a/ld/configure.in +++ b/ld/configure.in @@ -148,6 +148,10 @@ BFD_BINARY_FOPEN AC_CHECK_DECLS([strstr, free, sbrk, getenv, environ]) +# Link in zlib if we can. This is needed only for the bootstrap tests +# right now, since those tests use libbfd, which depends on zlib. +AC_SEARCH_LIBS(zlibVersion, z, [AC_CHECK_HEADERS(zlib.h)]) + # When converting linker scripts into strings for use in emulation # files, use astring.sed if the compiler supports ANSI string # concatenation, or ostring.sed otherwise. This is to support the -- cgit v1.1