summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGreg Banks <gnb@melbourne.sgi.com>2006-06-22 17:31:24 +1000
committerGreg Banks <gnb@melbourne.sgi.com>2006-06-22 17:31:24 +1000
commita07343ee0da4f0974a23b673ae1b0d482c7426a1 (patch)
tree712b83ee9c03d38d90b77cae6023f124984668aa /configure.in
parentdcfcb677b39443b6392db3234fd50498bc158507 (diff)
downloadnfs-utils-a07343ee0da4f0974a23b673ae1b0d482c7426a1.tar.gz
nfs-utils-a07343ee0da4f0974a23b673ae1b0d482c7426a1.tar.xz
nfs-utils-a07343ee0da4f0974a23b673ae1b0d482c7426a1.zip
Detect presence of nfs4_set_debug() in libnfsidmap and
don't bother calling it if it's missing.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 9a392e8..1a1a25d 100644
--- a/configure.in
+++ b/configure.in
@@ -180,6 +180,10 @@ if test "$enable_gss" = yes; then
dnl 'gss' also depends on nfsidmap.h - at least for svcgssd_proc.c
AC_CHECK_HEADERS(nfsidmap.h, ,AC_MSG_ERROR([libnfsidmap needed for gss support]))
AC_CHECK_HEADERS(spkm3.h, ,AC_MSG_WARN([could not locate SPKM3 header; will not have SPKM3 support]))
+ dnl the nfs4_set_debug function doesn't appear in all version of the library
+ AC_CHECK_LIB(nfsidmap, nfs4_set_debug,
+ AC_DEFINE(HAVE_NFS4_SET_DEBUG,1,
+ [Whether nfs4_set_debug() is present in libnfsidmap]),)
dnl Check for Kerberos V5
AC_KERBEROS_V5