This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA] gdb/configure: Add check for sys/proc.h


This is in preparation for some later patches porting GDB to
i386-interix: when compiling proc-api.c, we try to include <sys/proc.h>
but this header file does not exist. I haven't checked this myself,
but I trust that the definitions that proc-api was needing from this
file will be found elsewhere. So I would like to conditionalize the
inclusion of this file using the HAVE_SYS_PROC_H macro. The following
patch introduces this macro.

2002-07-05  Joel Brobecker  <brobecker@gnat.com>

        Define HAVE_SYS_PROC_H if sys/proc.h exists
        * configure.in: Add check for sys/proc.h
        * config.in: Regenerate.
        * configure: Regenerate.

This patch has been tested on x86-linux (no sys/proc.h), and on
sparc-solaris (have sys/proc.h).

Ok to commit?

Thanks,
-- 
Joel

Attachment: HAVE_SYS_PROC_H.diff
Description: HAVE_SYS_PROC_H.diff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]