This is the mail archive of the
mailing list for the GCC project.
Re: [Patch, libiberty] Fix build regression
* Anthony Green wrote on Sat, Nov 20, 2010 at 01:04:59PM CET:
> Thanks Ralf. However last night on #gcc Ian questioned why this is
> a link test in the first place. Why not just check headers instead?
> I've attached a revised patch based on header checking.
> Ok to commit?
That looks fairly safe, and the idea seems good to me too.
OK if it works (you can run 'make configure-libiberty' on a system with
and one without the header to find out quickly).
> 2010-11-19 Anthony Green <firstname.lastname@example.org>
> * configure.ac: Turn PR_SET_NAME link test into a test for
> * configure, config.in: Rebuilt.
> * setproctitle.c: Test for HAVE_SYS_PRCTL_H.
> (setproctitle) Test for PR_SET_NAME definition.