aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-11-24 22:59:53 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-11-24 22:59:53 +0000
commitb040ad30f50520414987cc3d5d558c4ed27d9e07 (patch)
tree802d7a8ec132ce6e3c1bfb21f6a2b567d255433a /gdb/configure.ac
parent5912faddb200cda344c8776b898b31f07a73352a (diff)
downloadgdb-b040ad30f50520414987cc3d5d558c4ed27d9e07.zip
gdb-b040ad30f50520414987cc3d5d558c4ed27d9e07.tar.gz
gdb-b040ad30f50520414987cc3d5d558c4ed27d9e07.tar.bz2
* acinclude.m4: Include ../config/zlib.m4.
* configure.ac: Use AM_ZLIB to check for zlib support. * configure: Regenerate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 4476637..8a73837 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -423,7 +423,7 @@ AC_SEARCH_LIBS(gethostbyname, nsl)
AC_SEARCH_LIBS(socketpair, socket)
# Link in zlib if we can. This allows us to read compressed debug sections.
-AC_SEARCH_LIBS(zlibVersion, z, [AC_CHECK_HEADERS(zlib.h)])
+AM_ZLIB
# On HP/UX we may need libxpdl for dlgetmodinfo (used by solib-pa64.c).
AC_SEARCH_LIBS(dlgetmodinfo, [dl xpdl])