From: Jonathan Perkin Date: Fri, 30 Jun 2017 10:56:30 +0000 (+0200) Subject: Handle native Solaris GSSAPI. X-Git-Tag: neomutt-20170707~21^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f32e937b04ae1ddc4419152a5705bb49da69984;p=neomutt Handle native Solaris GSSAPI. Signed-off-by: Thomas Klausner --- diff --git a/configure.ac b/configure.ac index 158cdb15c..8c4fd5499 100644 --- a/configure.ac +++ b/configure.ac @@ -489,7 +489,7 @@ if test "$gss_prefix" != "no"; then AC_CACHE_SAVE AC_MSG_RESULT([GSSAPI libraries not found]) fi - if test "$GSSAPI_IMPL" = "Heimdal"; then + if test "$GSSAPI_IMPL" = "Heimdal" || test "$GSSAPI_IMPL" = "Solaris"; then AC_DEFINE(HAVE_HEIMDAL,1,[ Define if your GSSAPI implementation is Heimdal ]) fi CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS" diff --git a/m4/gssapi.m4 b/m4/gssapi.m4 index 0e0194e63..75654c161 100644 --- a/m4/gssapi.m4 +++ b/m4/gssapi.m4 @@ -28,6 +28,7 @@ AC_DEFUN([MUTT_AM_PATH_GSSAPI], case "`$KRB5CFGPATH --version`" in "Kerberos 5 "*) GSSAPI_IMPL="MIT";; ?eimdal*) GSSAPI_IMPL="Heimdal";; + Solaris*) GSSAPI_IMPL="Solaris";; *) GSSAPI_IMPL="Unknown";; esac else