diff options
Diffstat (limited to 'ld/configure.in')
-rw-r--r-- | ld/configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
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 |