curl-library
Re: getpwuid_r on Solaris and _POSIX_PTHREAD_SEMANTICS
Date: Wed, 16 Jul 2014 16:28:26 +0100
On Tue, 2014-07-15 at 10:30 +0200, Tor Arntsen wrote:
> On 15 July 2014 00:00, Dan Fandrich <dan_at_coneharvesters.com> wrote:
>
> > I missed your message before I committed the change, but curl isn't using any
> > of those functions outside getpwuid_r, which confirms that that was the right
> > approach. And if we start using any of the other ones in the future, we can
> > rest assured that we'll be using the POSIX conformant versions.
>
> Looks good so far. There's one more autobuild running right now, but
> the previous two were fine.
Do these autobuilds have GSSAPI support? I suspect not — Solaris appears
to ship with a krb5-config that doesn't understand 'krb5-config gssapi'.
This appears to help here, when configured with
--with-gssapi-includes=/usr/include/gssapi
diff --git a/configure.ac b/configure.ac
index c3cccfb..da45c43 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1260,7 +1260,7 @@ if test x"$want_gss" = xyes; then
*-*-darwin*)
LIBS="-lgssapi_krb5 -lresolv $LIBS"
;;
- *-hp-hpux*)
+ *-hp-hpux*|*solaris*|*sunos*)
if test "$GSSAPI_ROOT" != "yes"; then
LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
fi
-- dwmw2
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- application/x-pkcs7-signature attachment: smime.p7s