mirror of
https://github.com/bstansell/conserver.git
synced 2024-12-18 20:37:56 +00:00
Merge pull request #79 from lzaoral/support-libgssapi_krb5
configure.ac: support libgssapi_krb5
This commit is contained in:
commit
7b028b54b5
12
configure.ac
12
configure.ac
@ -638,7 +638,17 @@ AC_ARG_WITH(gssapi,
|
||||
cons_with_gssapi="YES"
|
||||
AC_DEFINE(HAVE_GSSAPI)
|
||||
have_gssapi=yes],
|
||||
[AC_MSG_RESULT(no)])])])],)
|
||||
[AC_MSG_RESULT(no)
|
||||
LIBS="$oLIBS -lgssapi_krb5"
|
||||
AC_MSG_CHECKING(for gssapi library -lgssapi_krb5)
|
||||
AC_TRY_LINK([#include <gssapi/gssapi.h>
|
||||
],[gss_create_empty_oid_set(NULL, NULL)],
|
||||
[AC_MSG_RESULT(yes)
|
||||
cons_with_gssapi="YES"
|
||||
AC_DEFINE(HAVE_GSSAPI)
|
||||
have_gssapi=yes],
|
||||
[AC_MSG_RESULT(no)])])])])],)
|
||||
|
||||
|
||||
if test $have_gssapi = no; then
|
||||
LIBS="$oLIBS"
|
||||
|
Loading…
Reference in New Issue
Block a user