diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-11-02 04:44:47 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-11-02 04:44:47 +0000 |
commit | 5c44784c11ecc8febfff615b88496c56c9ad5274 (patch) | |
tree | 74f9079f5b0ddae1182abf087af8adc02103e149 /gdb/configure.in | |
parent | 9503fd8735ec438fcb2fca34afa276e3e6ca94f5 (diff) | |
download | gdb-5c44784c11ecc8febfff615b88496c56c9ad5274.zip gdb-5c44784c11ecc8febfff615b88496c56c9ad5274.tar.gz gdb-5c44784c11ecc8febfff615b88496c56c9ad5274.tar.bz2 |
import gdb-1999-11-01 snapshot
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 55ded716b..8435420 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -92,6 +92,24 @@ AC_C_CONST AC_CHECK_FUNCS(setpgid sbrk sigaction isascii bzero bcopy btowc poll sigprocmask) AC_FUNC_ALLOCA +dnl See if ptrace.h provides the PTRACE_GETXFPREGS request. +dnl PTRACE_GETXFPREGS is a Cygnus invention, since we wrote our own +dnl Linux kernel patch for SSE support. That patch may or may not +dnl actually make it into the official distribution. If you find that +dnl years have gone by since this configure test was added, and Linux +dnl isn't using PTRACE_GETXFPREGS, that means that our patch didn't +dnl make it, and you can delete this code. +AC_MSG_CHECKING(for PTRACE_GETXFPREGS) +AC_CACHE_VAL(gdb_cv_have_ptrace_getxfpregs, +[AC_TRY_COMPILE([#include <sys/ptrace.h>], + [PTRACE_GETXFPREGS;], + [gdb_cv_have_ptrace_getxfpregs=yes], + [gdb_cv_have_ptrace_getxfpregs=no])]) +AC_MSG_RESULT($gdb_cv_have_ptrace_getxfpregs) +if test $gdb_cv_have_ptrace_getxfpregs = yes; then + AC_DEFINE(HAVE_PTRACE_GETXFPREGS) +fi + AC_CHECK_LIB(socket, socketpair) AC_CHECK_FUNCS(socketpair) |