From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Jacobowitz To: Andrew Cagney Cc: Mark Kettenis , gdb-patches@sources.redhat.com Subject: Re: SETPGRP and autoconf Date: Mon, 30 Jul 2001 15:09:00 -0000 Message-id: <20010730150903.A32225@nevyn.them.org> References: <20010725162420.A13860@nevyn.them.org> <200107261040.f6QAe2T05377@delius.kettenis.local> <20010726084450.A2941@nevyn.them.org> <3B60505D.5080304@cygnus.com> <20010727102017.A5627@nevyn.them.org> <3B61CFB7.9080302@cygnus.com> X-SW-Source: 2001-07/msg00729.html 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. I left it as: dnl AC_FUNC_SETPGRP does not work when cross compiling It's in no way related to what we're cross compiling; it just checks if $cross_compiling and errors. > BTW, I suspect the outcome of the test on modern OS's doesn't matter - > the better defined setpgid() is used first anyway. > > As for approval, anyone can update configure.in, just be careful to get > feedback from any potentially interested parties. Since no one objected, I've committed this to the trunk. I don't know what rules we're using for the branch; can I just move it there too? -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer