aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.ac
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-03-31 05:54:55 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-03-31 06:39:57 -0700
commit9ae46699504c63af285d40ad8856a29300d318e4 (patch)
treeaeb93448d6b4802099344de3eca39653c07cc434 /bfd/configure.ac
parentfa1f5da0b6ff3622f9bf60e348e149b76920abba (diff)
downloadgdb-9ae46699504c63af285d40ad8856a29300d318e4.zip
gdb-9ae46699504c63af285d40ad8856a29300d318e4.tar.gz
gdb-9ae46699504c63af285d40ad8856a29300d318e4.tar.bz2
Revert the AM_ZLIB change in bfd
* configure.ac: Revert the AM_ZLIB change. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise. * doc/Makefile.in: Likewise.
Diffstat (limited to 'bfd/configure.ac')
-rw-r--r--bfd/configure.ac13
1 files changed, 3 insertions, 10 deletions
diff --git a/bfd/configure.ac b/bfd/configure.ac
index 5426781..a1b2035 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
@@ -236,16 +236,9 @@ AC_CHECK_DECLS(snprintf)
AC_CHECK_DECLS(vsnprintf)
AC_CHECK_DECLS(strnlen)
-# 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 compress.c.
+AM_ZLIB
# If we are configured native, pick a core file support file.
COREFILE=