summaryrefslogtreecommitdiffstats
path: root/aclocal/rpcsec_vers.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--aclocal/rpcsec_vers.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/aclocal/rpcsec_vers.m4 b/aclocal/rpcsec_vers.m4
new file mode 100644
index 0000000..43e5a96
--- /dev/null
+++ b/aclocal/rpcsec_vers.m4
@@ -0,0 +1,16 @@
+dnl Checks librpcsec version
+AC_DEFUN([AC_RPCSEC_VERSION], [
+
+ AC_ARG_WITH([gssglue],
+ [AS_HELP_STRING([--with-gssglue],[Use libgssglue for GSS support])])
+ if test x"$with_gssglue" = x"yes"; then
+ PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.3])
+ AC_CHECK_LIB([gssglue], [gss_set_allowable_enctypes])
+ fi
+
+ dnl TI-RPC replaces librpcsecgss
+ if test "$enable_tirpc" = no; then
+ PKG_CHECK_MODULES([RPCSECGSS], [librpcsecgss >= 0.16])
+ fi
+
+])dnl