1 From ed70f0623708b8a6c1f58a5d243d87c5ff45b24d Mon Sep 17 00:00:00 2001
2 From: Roy Li <rongqing.li@windriver.com>
3 Date: Tue, 26 Apr 2016 13:13:01 +0800
4 Subject: [PATCH] replace krb5-config with pkg-config
6 Upstream-Status: Pending
8 Signed-off-by: Roy Li <rongqing.li@windriver.com>
11 configure.ac | 6 +++---
12 1 file changed, 3 insertions(+), 3 deletions(-)
14 diff --git a/configure.ac b/configure.ac
15 index 5569a26..56b0380 100755
18 @@ -1290,7 +1290,7 @@ AC_ARG_WITH(gssapi,
22 -: ${KRB5CONFIG:="$GSSAPI_ROOT/bin/krb5-config"}
23 +KRB5CONFIG=`which pkg-config`
25 save_CPPFLAGS="$CPPFLAGS"
26 AC_MSG_CHECKING([if GSS-API support is requested])
27 @@ -1301,7 +1301,7 @@ if test x"$want_gss" = xyes; then
28 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
29 GSSAPI_INCS=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi`
30 elif test -f "$KRB5CONFIG"; then
31 - GSSAPI_INCS=`$KRB5CONFIG --cflags gssapi`
32 + GSSAPI_INCS=`$KRB5CONFIG --cflags mit-krb5-gssapi`
33 elif test "$GSSAPI_ROOT" != "yes"; then
34 GSSAPI_INCS="-I$GSSAPI_ROOT/include"
36 @@ -1394,7 +1394,7 @@ if test x"$want_gss" = xyes; then
37 elif test -f "$KRB5CONFIG"; then
38 dnl krb5-config doesn't have --libs-only-L or similar, put everything
40 - gss_libs=`$KRB5CONFIG --libs gssapi`
41 + gss_libs=`$KRB5CONFIG --libs mit-krb5-gssapi`
42 LIBS="$gss_libs $LIBS"