mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Dan Fandrich fixed some GSS detection flaws
This commit is contained in:
parent
7c85be9435
commit
533519cc9c
@ -617,7 +617,7 @@ if test x"$want_gss" = xyes; then
|
|||||||
if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
|
if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
|
||||||
GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags gssapi`
|
GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags gssapi`
|
||||||
else
|
else
|
||||||
GSSAPI_INCS=="-I$GSSAPI_ROOT/include"
|
GSSAPI_INCS="-I$GSSAPI_ROOT/include"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
CPPFLAGS="$CPPFLAGS $GSSAPI_INCS"
|
CPPFLAGS="$CPPFLAGS $GSSAPI_INCS"
|
||||||
@ -627,7 +627,7 @@ if test x"$want_gss" = xyes; then
|
|||||||
gss_ldflags=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi`
|
gss_ldflags=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi`
|
||||||
LDFLAGS="$LDFLAGS $gss_ldflags"
|
LDFLAGS="$LDFLAGS $gss_ldflags"
|
||||||
else
|
else
|
||||||
LDFLAGS="$LDFLAGS $GSSAPI_ROOT/lib -lgssapi"
|
LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib -lgssapi"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR"
|
LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR"
|
||||||
|
Loading…
Reference in New Issue
Block a user