aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.ac
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-03-31 05:55:46 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-03-31 06:39:57 -0700
commited2b5077eb36d82ad7763d76fdd8e82d15f72b7a (patch)
treeb8e29406e1ee906f6991884bad59bed753bd0b56 /binutils/configure.ac
parent9ae46699504c63af285d40ad8856a29300d318e4 (diff)
downloadgdb-ed2b5077eb36d82ad7763d76fdd8e82d15f72b7a.zip
gdb-ed2b5077eb36d82ad7763d76fdd8e82d15f72b7a.tar.gz
gdb-ed2b5077eb36d82ad7763d76fdd8e82d15f72b7a.tar.bz2
Revert the AM_ZLIB change in binutils
* configure.ac: Revert the AM_ZLIB change. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise.
Diffstat (limited to 'binutils/configure.ac')
-rw-r--r--binutils/configure.ac14
1 files changed, 4 insertions, 10 deletions
diff --git a/binutils/configure.ac b/binutils/configure.ac
index 0677f9a..31864ec 100644
--- a/binutils/configure.ac
+++ b/binutils/configure.ac
@@ -201,16 +201,10 @@ fi
AC_CHECK_DECLS([environ, fprintf, getc_unlocked, getenv,
sbrk, snprintf, stpcpy, strnlen, strstr, vsnprintf])
-# Use the system's zlib library.
-zlibdir=-L../zlib
-zlibinc="-I\$(srcdir)/../zlib"
-AC_ARG_WITH(system-zlib,
-[AS_HELP_STRING([--with-system-zlib], [use installed libz])],
-zlibdir=
-zlibinc=
-)
-AC_SUBST(zlibdir)
-AC_SUBST(zlibinc)
+# Link in zlib if we can. This allows us to read compressed debug
+# sections. This is used only by readelf.c (objdump uses bfd for
+# reading compressed sections).
+AM_ZLIB
BFD_BINARY_FOPEN