summaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-11-24 22:59:52 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-11-24 22:59:52 +0000
commitd5365e849582d34d45cc8b1e66dde6c8ff73013f (patch)
tree6f3610a9e64db01e86c34ad4330983608f9d1933 /gdb/configure.ac
parent3ab54415dd0f60d361f17b6496a679f358628560 (diff)
downloadgdb-d5365e849582d34d45cc8b1e66dde6c8ff73013f.tar.gz
* 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 447663712ed..8a738375a9b 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])