[fedfs-utils] [PATCH 08/11] configure.ac: Require rpcsec_gss.h
Chuck Lever
chuck.lever at oracle.com
Wed Jul 8 11:27:12 PDT 2015
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 at oracle.com>
---
configure.ac | 2 ++
1 file changed, 2 insertions(+)
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],
More information about the fedfs-utils-devel
mailing list