Commit 6b0b0c6a authored by Mark Andrews's avatar Mark Andrews Committed by Ondřej Surý
Browse files

Request krb5 CFLAGS and LIBS from $KRB5_CONFIG

The GSSAPI now needs both gssapi and krb5 libraries, so we need to
request both CFLAGS and LIBS from the configure script.
parent a875dcc6
...@@ -17560,8 +17560,8 @@ fi ...@@ -17560,8 +17560,8 @@ fi
else else
KRB5_CONFIG="$use_gssapi" KRB5_CONFIG="$use_gssapi"
fi fi
gssapi_cflags=`$KRB5_CONFIG --cflags gssapi` gssapi_cflags=`$KRB5_CONFIG --cflags gssapi krb5`
gssapi_libs=`$KRB5_CONFIG --libs gssapi` gssapi_libs=`$KRB5_CONFIG --libs gssapi krb5`
saved_cppflags="$CPPFLAGS" saved_cppflags="$CPPFLAGS"
CPPFLAGS="$gssapi_cflags $CPPFLAGS" CPPFLAGS="$gssapi_cflags $CPPFLAGS"
for ac_header in gssapi.h gssapi/gssapi.h for ac_header in gssapi.h gssapi/gssapi.h
......
...@@ -993,8 +993,8 @@ case "$use_gssapi" in ...@@ -993,8 +993,8 @@ case "$use_gssapi" in
else else
KRB5_CONFIG="$use_gssapi" KRB5_CONFIG="$use_gssapi"
fi fi
gssapi_cflags=`$KRB5_CONFIG --cflags gssapi` gssapi_cflags=`$KRB5_CONFIG --cflags gssapi krb5`
gssapi_libs=`$KRB5_CONFIG --libs gssapi` gssapi_libs=`$KRB5_CONFIG --libs gssapi krb5`
saved_cppflags="$CPPFLAGS" saved_cppflags="$CPPFLAGS"
CPPFLAGS="$gssapi_cflags $CPPFLAGS" CPPFLAGS="$gssapi_cflags $CPPFLAGS"
AC_CHECK_HEADERS(gssapi.h gssapi/gssapi.h, AC_CHECK_HEADERS(gssapi.h gssapi/gssapi.h,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment