* configure.in: Check for <machine/reg.h>. Check for `struct reg'
in <machine/reg.h>. * configure, config.in: Regenerate.
This commit is contained in:
parent
c9e214e571
commit
78434e5985
4 changed files with 396 additions and 298 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-01-02 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* configure.in: Check for <machine/reg.h>. Check for `struct reg'
|
||||
in <machine/reg.h>.
|
||||
* configure, config.in: Regenerate.
|
||||
|
||||
2003-12-30 Eli Zaretskii <eliz@elta.co.il>
|
||||
|
||||
* configure.in: Check for st_blocks member in struct stat and
|
||||
|
|
|
@ -290,6 +290,9 @@
|
|||
/* Define if you have the <locale.h> header file. */
|
||||
#undef HAVE_LOCALE_H
|
||||
|
||||
/* Define if you have the <machine/reg.h> header file. */
|
||||
#undef HAVE_MACHINE_REG_H
|
||||
|
||||
/* Define if you have the <malloc.h> header file. */
|
||||
#undef HAVE_MALLOC_H
|
||||
|
||||
|
@ -459,6 +462,9 @@
|
|||
/* Define to 1 if the regex included in libiberty should be used. */
|
||||
#undef USE_INCLUDED_REGEX
|
||||
|
||||
/* Define to 1 if your system has struct reg in <machine/reg.h>. */
|
||||
#undef HAVE_STRUCT_REG
|
||||
|
||||
/* Define if <stdint.h> provides the uintptr_t type. */
|
||||
#undef HAVE_UINTPTR_T
|
||||
|
||||
|
|
671
gdb/configure
vendored
671
gdb/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -343,6 +343,7 @@ AC_HEADER_DIRENT
|
|||
AC_HEADER_STAT
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(link.h)
|
||||
AC_CHECK_HEADERS(machine/reg.h)
|
||||
AC_CHECK_HEADERS(nlist.h)
|
||||
AC_CHECK_HEADERS(poll.h sys/poll.h)
|
||||
AC_CHECK_HEADERS(proc_service.h thread_db.h)
|
||||
|
@ -491,6 +492,16 @@ if test "$gdb_with_regex" = yes; then
|
|||
[Define to 1 if the regex included in libiberty should be used.])
|
||||
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>
|
||||
#include <machine/reg.h>], [struct reg r;],
|
||||
gdb_cv_struct_reg=yes, gdb_cv_struct_reg=no)])
|
||||
if test $gdb_cv_struct_reg = yes; then
|
||||
AC_DEFINE(HAVE_STRUCT_REG, 1,
|
||||
[Define to 1 if your system has struct reg in <machine/reg.h>.])
|
||||
fi
|
||||
|
||||
# See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
|
||||
# Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
|
||||
AC_CACHE_CHECK([for r_fs in struct reg], gdb_cv_struct_reg_r_fs,
|
||||
|
|
Loading…
Reference in a new issue