* configure.in: include nlist.h when checking for member som_addr
in struct so_map. * configure: regenerate.
This commit is contained in:
parent
dd9b19ab40
commit
39812cebba
3 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
3
gdb/configure
vendored
3
gdb/configure
vendored
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue