diff mbox

[08/11] configure.ac: Require rpcsec_gss.h

Message ID 20150708182712.24274.99598.stgit@seurat.1015granger.net
State Accepted
Headers show

Commit Message

Chuck Lever July 8, 2015, 6:27 p.m. UTC
Instead of filling the fedfs-utils source tree with conditional
compilation, I'm going to replace the old GSS calls outright.
0.11 will no longer be compatible with libtirpc versions previous
to 0.3.

fedfs-utils 0.10 is still supported and will work with older
libtirpc versions. 0.11 will not have many other new features.

The first step is to add a requirement for the new rpc_gss API
to configure.ac.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 configure.ac |    2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index da63cf8..1ae5468 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,6 +111,8 @@  AC_CHECK_LIB([tirpc], [svc_tli_create],
 		 AC_DEFINE([HAVE_LIBTIRPC], [1],
 			   [Define if you have libtirpc])],
 		[AC_MSG_ERROR([libtirpc not found.])])
+AC_CHECK_LIB([tirpc], [rpc_gss_seccreate], [],
+		[AC_MSG_ERROR([libtirpc too old.])])
 AC_CHECK_LIB([uuid], [uuid_parse],
 		[AC_SUBST([LIBUUID], ["-luuid"])
 		 AC_DEFINE([HAVE_LIBUUID], [1],