diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-05-23 09:23:18 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-05-23 09:23:18 +0000 |
commit | 70f9f479194f1a826e7c600d7272ab6822ca9ce1 (patch) | |
tree | 2d16838260ca0a5e0631ab58770334188ce20b0e /gdb/configure.in | |
parent | 1181c20ef469d4c1d5c9593809653546506f29a8 (diff) | |
download | gdb-70f9f479194f1a826e7c600d7272ab6822ca9ce1.zip gdb-70f9f479194f1a826e7c600d7272ab6822ca9ce1.tar.gz gdb-70f9f479194f1a826e7c600d7272ab6822ca9ce1.tar.bz2 |
* configure.in: Check for td_pcb in `struct thread'.
* configure, config.in: Regenerated.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 0463e94..dc9b072 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -494,6 +494,15 @@ if test "$gdb_with_regex" = yes; then [Define to 1 if the regex included in libiberty should be used.]) 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;], +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, + [Define to 1 if your system has td_pcb in struct thread.]) +fi + # See if <machine/reg.h> degines `struct reg'. AC_CACHE_CHECK([for struct reg in machine/reg.h], gdb_cv_struct_reg, [AC_TRY_COMPILE([#include <sys/types.h> |