aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>2001-06-22 16:01:31 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>2001-06-22 16:01:31 +0000
commit39812cebba4d4eb7cb6a9b3c3491e254227016c5 (patch)
treeff3fec3641075ec98d0646587fbfe788166abba1 /gdb/configure.in
parentdd9b19ab4056d163a4474b074d0e173a153bcbc4 (diff)
downloadgdb-39812cebba4d4eb7cb6a9b3c3491e254227016c5.zip
gdb-39812cebba4d4eb7cb6a9b3c3491e254227016c5.tar.gz
gdb-39812cebba4d4eb7cb6a9b3c3491e254227016c5.tar.bz2
* configure.in: include nlist.h when checking for member som_addr
in struct so_map. * configure: regenerate.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 8bbcb18..7a4020a 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -341,6 +341,9 @@ if test ${host} = ${target} ; then
AC_MSG_CHECKING(for member som_addr in struct so_map)
AC_CACHE_VAL(gdb_cv_have_struct_so_map_with_som_members,
[AC_TRY_COMPILE([#include <sys/types.h>
+#ifdef HAVE_NLIST_H
+#include <nlist.h>
+#endif
#include <link.h>],
[struct so_map lm; (void) lm.som_addr;],
gdb_cv_have_struct_so_map_with_som_members=yes,