unleashed-userland README
[unleashed-userland.git] / components / network / openssh / patches / 0028-Don-t-use-krb5-config-to-check-for-GSSAPI-on-Illumos.patch
blobd2871bc558061b0de1e03176736cd3ed3577c02e
1 From 6df7c448336d7997c27fb13b18154d4cc2aa9f7b Mon Sep 17 00:00:00 2001
2 From: Alex Wilson <alex.wilson@joyent.com>
3 Date: Fri, 21 Aug 2015 18:47:46 -0700
4 Subject: [PATCH 28/34] Don't use krb5-config to check for GSSAPI on Illumos
6 ---
7 configure.ac | 7 ++++++-
8 1 file changed, 6 insertions(+), 1 deletion(-)
10 diff --git a/configure.ac b/configure.ac
11 index 1846eb2..580fa5c 100644
12 --- a/configure.ac
13 +++ b/configure.ac
14 @@ -4081,6 +4081,11 @@ AC_ARG_WITH([kerberos5],
15 AC_PATH_PROG([KRB5CONF], [krb5-config],
16 [$KRB5ROOT/bin/krb5-config],
17 [$KRB5ROOT/bin:$PATH])
18 + # Illumos has GSS but krb5-config doesn't talk about it
19 + # Fall back to regular probing for libs
20 + if uname -rs | grep 'SunOS 5.11' ; then
21 + KRB5CONF=nonexistent
22 + fi
23 if test -x $KRB5CONF ; then
24 K5CFLAGS="`$KRB5CONF --cflags`"
25 K5LIBS="`$KRB5CONF --libs`"
26 @@ -4122,6 +4127,6 @@ AC_ARG_WITH([kerberos5],
27 AC_CHECK_LIB([des], [des_cbc_encrypt],
28 [K5LIBS="$K5LIBS -ldes"])
29 ], [ AC_MSG_RESULT([no])
30 - K5LIBS="-lkrb5 -lk5crypto -lcom_err"
31 + K5LIBS="-lkrb5"
33 AC_SEARCH_LIBS([dn_expand], [resolv])
34 --
35 2.5.4 (Apple Git-61)