aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure
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
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')
-rwxr-xr-xbinutils/configure13
1 files changed, 9 insertions, 4 deletions
diff --git a/binutils/configure b/binutils/configure
index ad3948c..0fc173b 100755
--- a/binutils/configure
+++ b/binutils/configure
@@ -13538,14 +13538,18 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
-# Use the system's zlib library.
-zlibdir=-L../zlib
-zlibinc="-I\$(srcdir)/../zlib"
+# 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).
+
+ # Use the system's zlib library.
+ zlibdir=-L../zlib
+ zlibinc="-I\$(srcdir)/../zlib"
# Check whether --with-system-zlib was given.
if test "${with_system_zlib+set}" = set; then :
withval=$with_system_zlib; zlibdir=
-zlibinc=
+ zlibinc=
fi
@@ -13553,6 +13557,7 @@ fi
+
case "${host}" in
*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)