* configure.in: Include <sys/param.h> for td_pcb test.

* configure: Regenerated.
This commit is contained in:
Mark Kettenis 2004-06-27 16:41:21 +00:00
parent 9062529b14
commit d15be92637
3 changed files with 575 additions and 559 deletions

View File

@ -1,5 +1,8 @@
2004-06-27 Mark Kettenis <kettenis@gnu.org>
* configure.in: Include <sys/param.h> for td_pcb test.
* configure: Regenerated.
* i386nbsd-nat.c: New file.
* Makefile.in (ALLDEPFILES): Add i386nbsd-nat.c, i386nbsd-tdep.c,
i386obsd-nat.c and i386obsd-tdep.c.

1128
gdb/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -496,7 +496,8 @@ fi
# See if <sys/proc.h> defines `struct thread' with a td_pcb member.
AC_CACHE_CHECK([for td_pcb in struct thread], gdb_cv_struct_thread_td_pcb,
[AC_TRY_COMPILE([#include <sys/proc.h>], [struct thread td; td.td_pcb;],
[AC_TRY_COMPILE([#include <sys/param.h>
#include <sys/proc.h>], [struct thread td; td.td_pcb;],
gdb_cv_struct_thread_td_pcb=yes, gdb_cv_struct_thread_td_pcb=no)])
if test $gdb_cv_struct_thread_td_pcb = yes; then
AC_DEFINE(HAVE_STRUCT_THREAD_TD_PCB, 1,