* configure.in: include nlist.h when checking for member som_addr
authorJ.T. Conklin <jtc@acorntoolworks.com>
Fri, 22 Jun 2001 16:01:31 +0000 (16:01 +0000)
committerJ.T. Conklin <jtc@acorntoolworks.com>
Fri, 22 Jun 2001 16:01:31 +0000 (16:01 +0000)
in struct so_map.
* configure: regenerate.

gdb/ChangeLog
gdb/configure
gdb/configure.in

index ffc8a1c5c50e31fc6b9b03495380b0bef15e4c90..d6c4f5f0b53dec585f3e810027eb3b634cb40bd7 100644 (file)
@@ -1,3 +1,9 @@
+2001-06-22  J.T. Conklin  <jtc@redback.com>
+
+       * configure.in: include nlist.h when checking for member som_addr
+       in struct so_map.
+       * configure: regenerate.
+
 2001-06-21  Keith Seitz  <keiths@redhat.com>
 
        * cli-out.c (cli_out_new): Initialize new structure member
index 16e6a379da00f5cbfbf1ae40c7403c2a84f6881c..cee0573322af2194ed8c4914fbb39a5d2ebc2f37 100755 (executable)
@@ -5404,6 +5404,9 @@ else
 #line 5405 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
+#ifdef HAVE_NLIST_H
+#include <nlist.h>
+#endif
 #include <link.h>
 int main() {
 struct so_map lm; (void) lm.som_addr;
index 8bbcb18d8dad9bca76249db2cc78e130b23f1a09..7a4020ab1bea33424d4e3b41c725bfe598572162 100644 (file)
@@ -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,