aboutsummaryrefslogtreecommitdiff
path: root/gold/configure.ac
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2008-04-08 14:33:35 +0000
committerIan Lance Taylor <ian@airs.com>2008-04-08 14:33:35 +0000
commit7fcd025698ecddeda435ca91922af4ee3a567c10 (patch)
tree640b70f3c36160569c55aaeb2cc2521036419bb7 /gold/configure.ac
parente24f324cc638a23896ed695323a4be47e4895102 (diff)
downloadgdb-7fcd025698ecddeda435ca91922af4ee3a567c10.zip
gdb-7fcd025698ecddeda435ca91922af4ee3a567c10.tar.gz
gdb-7fcd025698ecddeda435ca91922af4ee3a567c10.tar.bz2
* configure.ac: Export new conditional variable HAVE_ZLIB.
* testsuite/Makefile.am (flagstest_o_specialfile): Condition on HAVE_ZLIB. (flagstest_o_specialfile_and_compress_debug_sections): Likewise. * configure, Makefile.in, testsuite/Makefile.in: Rebuild.
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++)