summaryrefslogtreecommitdiff
path: root/ld/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'ld/configure.in')
-rw-r--r--ld/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/configure.in b/ld/configure.in
index 44013aa5f1..63936f2dff 100644
--- a/ld/configure.in
+++ b/ld/configure.in
@@ -217,7 +217,7 @@ 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)])
+AM_ZLIB
# When converting linker scripts into strings for use in emulation
# files, use astring.sed if the compiler supports ANSI string