strerror_r in libgpg-error 0.5 on Solaris

Marcus Brinkmann marcus.brinkmann at ruhr-uni-bochum.de
Tue Sep 14 19:21:36 CEST 2004


Hi Andreas,

At Sun, 4 Jan 2004 17:42:59 +0100,
Andreas Almroth wrote:
> I have compiled libgpg-error 0.5 on Solaris 2.8 and encountered the
> classic problem with strerror_r.
> In Solaris the function strerror is thread-safe, and no _r function
> exists.
> 
> It would be nice if the configure script could consider this when on
> Solaris platform. I don't know enough about autoconf so I can
> unfortunately not easily fix a patch for this myself. Well, maybe I
> should try...
> A perhaps non-important issue, but still...

I have checked the following change into CVS, it should do the trick
for all versions of Solaris.  If you want, check it out and let me
know if it works for you.

2004-09-14  Marcus Brinkmann  <marcus at g10code.de>

	* configure.ac: Call AC_CANONICAL_HOST.  Suppress warning about
	lack of strerror_r on all Solaris platforms.

Thanks,
Marcus



More information about the Gnupg-devel mailing list