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]

Re: SETPGRP and autoconf


On Fri, Jul 27, 2001 at 04:31:51PM -0400, Andrew Cagney wrote:
> > +dnl AC_FUNC_SETPGRP does not work if cross compiling
> > +dnl Instead, assume we will have a prototype for setpgrp if cross compiling.
> > +if test "$cross_compiling" = no; then
> 
> 
> Suggest:
> AC_FUNC_SETPGRP does not work when cross compiling GDB.
> 
> BTW, I suspect the outcome of the test on modern OS's doesn't matter - 
> the better defined setpgid() is used first anyway.

Hey, I missed this when going over the logic.  We don't even care about
SETPGRP_VOID if HAVE_SETPGID.  I'm still going to check it this way,
though, just in case we have a system modern enough to have the headers
and odd enough not to define setpgid.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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