
On Mon, 18 Dec 2006 10:51:52 -0000, "Martin Bonner" <martin.bonner@pitechnology.com> said:
From: Oliver.Kowalke@qimonda.com
With autoconfig the build process can check if strerror_r is avaliable and provide strerror as fall back.
Autoconfig can check if strerror_r is available ON THE BUILD MACHINE. It CANNOT tell whether it will be available on the target machines.
Unless I'm missing something, isn't this discussion only about Solaris? The Solaris man pages (I checked 7 and 10) say that strerror is MT-safe, so wouldn't it be simpler to always use that function when building for that platform? Solaris 7: http://docs.sun.com/app/docs/doc/805-3175/6j31empgq?a=view Solaris 10: http://docs.sun.com/app/docs/doc/816-5168/6mbb3hrti?a=view Cheers, Chris