aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.ac
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-03-31 05:55:18 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-03-31 06:39:57 -0700
commit543b793377eb8c64f8c4e0e68cd3e6b39e857051 (patch)
tree10daf4193326e332e374cb00641fea7ce26465d6 /gas/configure.ac
parented2b5077eb36d82ad7763d76fdd8e82d15f72b7a (diff)
downloadbinutils-543b793377eb8c64f8c4e0e68cd3e6b39e857051.zip
binutils-543b793377eb8c64f8c4e0e68cd3e6b39e857051.tar.gz
binutils-543b793377eb8c64f8c4e0e68cd3e6b39e857051.tar.bz2
Revert the AM_ZLIB change in gas
* configure.ac: Revert the AM_ZLIB change. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise.
Diffstat (limited to 'gas/configure.ac')
-rw-r--r--gas/configure.ac9
1 files changed, 2 insertions, 7 deletions
diff --git a/gas/configure.ac b/gas/configure.ac
index fbe8c0b..8e05fb8 100644
--- a/gas/configure.ac
+++ b/gas/configure.ac
@@ -816,13 +816,8 @@ AC_CHECK_DECLS([free, getenv, malloc, mempcpy, realloc, stpcpy, strstr, vsnprint
BFD_BINARY_FOPEN
-# Use the system's zlib library.
-zlibinc="-I\$(srcdir)/../zlib"
-AC_ARG_WITH(system-zlib,
-[AS_HELP_STRING([--with-system-zlib], [use installed libz])],
-zlibinc=
-)
-AC_SUBST(zlibinc)
+# Link in zlib if we can. This allows us to write compressed debug sections.
+AM_ZLIB
# Support for VMS timestamps via cross compile