From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5411 invoked by alias); 9 Jul 2002 04:12:40 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5242 invoked from network); 9 Jul 2002 04:12:36 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 9 Jul 2002 04:12:36 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id A05DF3CC5; Tue, 9 Jul 2002 00:12:26 -0400 (EDT) Message-ID: <3D2A62AA.3020304@ges.redhat.com> Date: Mon, 08 Jul 2002 21:24:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020613 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] gdb/configure: Add check for sys/proc.h References: <20020706021043.GA1091@gnat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-07/txt/msg00138.txt.bz2 > This is in preparation for some later patches porting GDB to > i386-interix: when compiling proc-api.c, we try to include > 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 > > 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? Yes. In general, any developer ``brave enough'' can commit changes to configure.in. Just post them first for comment. Can you just check that you're using the BINUTILS 000227 autoconf. I'm asking as I noticed: > *************** > *** 379,392 **** > /* Define if you have the header file. */ > #undef HAVE_SYS_SELECT_H > > - /* Define if you have the header file. */ > - #undef HAVE_SYS_STAT_H > - > /* Define if you have the header file. */ > #undef HAVE_SYS_SYSCALL_H > - > - /* Define if you have the header file. */ > - #undef HAVE_SYS_TYPES_H > > /* Define if you have the header file. */ > #undef HAVE_SYS_USER_H which has me puzzled. I suspect it might just be that config.in is out-of-datem dig dig. Yep :-/ Andrew