aboutsummaryrefslogtreecommitdiff
path: root/gold/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'gold/configure.ac')
-rw-r--r--gold/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/configure.ac b/gold/configure.ac
index b408858..aa7fea0 100644
--- a/gold/configure.ac
+++ b/gold/configure.ac
@@ -241,6 +241,7 @@ AC_REPLACE_FUNCS(pread)
# Link in zlib if we can. This allows us to write compressed sections.
AC_SEARCH_LIBS(zlibVersion, z, [AC_CHECK_HEADERS(zlib.h)])
+AM_CONDITIONAL(HAVE_ZLIB, test "$ac_cv_search_zlibVersion" != "no")
AC_LANG_PUSH(C++)