aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorJon Boden <jon@ubuntubsd.org>2016-05-23 08:46:33 +0100
committerYao Qi <yao.qi@linaro.org>2016-05-23 08:46:33 +0100
commit37773e7803b370802302719a48c9c46f64c602b4 (patch)
tree710033c5baa95b59ec0ca32b2a74b5a6d25c3553 /gdb/configure.ac
parentf10e0aef4f9cb98d8c49c237ef3987f0ca3ee90f (diff)
downloadgdb-37773e7803b370802302719a48c9c46f64c602b4.zip
gdb-37773e7803b370802302719a48c9c46f64c602b4.tar.gz
gdb-37773e7803b370802302719a48c9c46f64c602b4.tar.bz2
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 <jon@ubuntubsd.org> * configure.ac: Search for libutil-freebsd as alternative to libutil. * configure: Re-generated.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 4364c02..6a72f72 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. ])])