Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* SETPGRP and autoconf
@ 2001-07-25 16:24 Daniel Jacobowitz
  2001-07-26  3:40 ` Mark Kettenis
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2001-07-25 16:24 UTC (permalink / raw)
  To: gdb, Mark Kettenis

I should have objected :)  But it'd been so long since I last saw this issue
that I forgot about it.

AC_FUNC_SETPGRP has some regrettable problems.  Witness:

checking whether setpgrp takes no argument... configure: error: cannot check
  setpgrp if cross compiling

Thus breaking all host-x-host cross builds.


This is what I really hate about autoconf.  There's no good reason for
AC_FUNC_SETPGRP to be an executed test.  If you have a prototype for
setpgrp(void),  setpgrp(1,1) won't compile, and you don't need to execute
anything at all.

What can we do about this?  Besides my usual hack: I have a huge list of
autoconf cache variables in my build environment, preset.

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-07-26 10:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-25 16:24 SETPGRP and autoconf Daniel Jacobowitz
2001-07-26  3:40 ` Mark Kettenis
2001-07-26  7:54   ` H . J . Lu
2001-07-26  8:46   ` Daniel Jacobowitz
2001-07-26 10:17     ` Andrew Cagney
2001-07-26 10:28       ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox