From 37773e7803b370802302719a48c9c46f64c602b4 Mon Sep 17 00:00:00 2001 From: Jon Boden Date: Mon, 23 May 2016 08:46:33 +0100 Subject: Search for libutil-freebsd as alternative to libutil GDB needs kinfo_getvmmap() on GNU/kFreeBSD systems same as on pure FreeBSD. However on these systems the FreeBSD version of libutil is renamed to libutil-freebsd. 2016-05-23 Jon Boden * configure.ac: Search for libutil-freebsd as alternative to libutil. * configure: Re-generated. --- gdb/configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/configure.ac') diff --git a/gdb/configure.ac b/gdb/configure.ac index 4364c025f92..6a72f7227ba 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -535,7 +535,8 @@ AC_SEARCH_LIBS(socketpair, socket) AM_ZLIB # On FreeBSD we may need libutil for kinfo_getvmmap (used by fbsd-nat.c). -AC_SEARCH_LIBS(kinfo_getvmmap, util, +# On GNU/kFreeBSD systems, FreeBSD libutil is renamed to libutil-freebsd. +AC_SEARCH_LIBS(kinfo_getvmmap, util util-freebsd, [AC_DEFINE(HAVE_KINFO_GETVMMAP, 1, [Define to 1 if your system has the kinfo_getvmmap function. ])]) -- cgit v1.2.1