gssd: Switch to use standard GSSAPI by default
[nfs-utils.git] / aclocal / rpcsec_vers.m4
1 dnl Checks librpcsec version
2 AC_DEFUN([AC_RPCSEC_VERSION], [
3
4   AC_ARG_WITH([gssglue],
5         [AC_HELP_STRING([--with-gssglue], [Use libgssglue for GSS support])])
6   if test x"$with_gssglue" = x"yes"; then
7     PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.3])
8     AC_CHECK_LIB([gssglue], [gss_set_allowable_enctypes])
9   fi
10
11   dnl TI-RPC replaces librpcsecgss
12   if test "$enable_tirpc" = no; then
13     PKG_CHECK_MODULES([RPCSECGSS], [librpcsecgss >= 0.16])
14   fi
15
16 ])dnl