This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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).

Thanks,
Ralf

> 2010-11-19  Anthony Green  <green@moxielogic.com>
> 
> 	* configure.ac: Turn PR_SET_NAME link test into a test for
> 	sys/prctl.h.
> 	* configure, config.in: Rebuilt.
> 	* setproctitle.c: Test for HAVE_SYS_PRCTL_H.
> 	(setproctitle) Test for PR_SET_NAME definition.


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