diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-01-09 18:02:50 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-01-09 18:02:50 +0000 |
commit | 7cb9022a1453bc12448303e0139a1814fd815d7b (patch) | |
tree | 426b5e02100ca1530d637612a3befa1b8d6b0fdf /gdb/configure.ac | |
parent | 1ad119f112e78654c5e7301e8807b7c26e287999 (diff) | |
download | gdb-7cb9022a1453bc12448303e0139a1814fd815d7b.zip gdb-7cb9022a1453bc12448303e0139a1814fd815d7b.tar.gz gdb-7cb9022a1453bc12448303e0139a1814fd815d7b.tar.bz2 |
* configure.ac: Provide prerequisite headers when checking
<link.h>, <sys/proc.h> and <sys/user.h>.
* configure: Regenerate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 57e00c4..55e19c4 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -356,9 +356,16 @@ fi 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(link.h, [], [], +[#if HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif +#if HAVE_NLIST_H +# include <nlist.h> +#endif +]) +AC_CHECK_HEADERS(machine/reg.h) AC_CHECK_HEADERS(poll.h sys/poll.h) AC_CHECK_HEADERS(proc_service.h thread_db.h gnu/libc-version.h) AC_CHECK_HEADERS(stddef.h) @@ -370,14 +377,22 @@ AC_CHECK_HEADERS(sys/file.h) AC_CHECK_HEADERS(sys/filio.h) AC_CHECK_HEADERS(sys/ioctl.h) AC_CHECK_HEADERS(sys/param.h) -AC_CHECK_HEADERS(sys/proc.h) +AC_CHECK_HEADERS(sys/proc.h, [], [], +[#if HAVE_SYS_PARAM_H +# include <sys/param.h> +#endif +]) AC_CHECK_HEADERS(sys/procfs.h) AC_CHECK_HEADERS(sys/ptrace.h ptrace.h) AC_CHECK_HEADERS(sys/reg.h sys/debugreg.h) AC_CHECK_HEADERS(sys/select.h) AC_CHECK_HEADERS(sys/syscall.h) AC_CHECK_HEADERS(sys/types.h) -AC_CHECK_HEADERS(sys/user.h) +AC_CHECK_HEADERS(sys/user.h, [], [], +[#if HAVE_SYS_PARAM_H +# include <sys/param.h> +#endif +]) AC_CHECK_HEADERS(sys/wait.h wait.h) AC_CHECK_HEADERS(termios.h termio.h sgtty.h) AC_CHECK_HEADERS(unistd.h) |