summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorneilbrown <neilbrown>2004-12-10 01:09:07 +0000
committerneilbrown <neilbrown>2004-12-10 01:09:07 +0000
commit604bc72d3a4894d6569f8cc58d935cc62217aee6 (patch)
tree12205c231daa989137c038e8ae066ddb5c4985e1 /configure.in
parent2a8ca391fcc5f34aa02aa985a17823f6f7a4ad9f (diff)
downloadnfs-utils-604bc72d3a4894d6569f8cc58d935cc62217aee6.tar.gz
nfs-utils-604bc72d3a4894d6569f8cc58d935cc62217aee6.tar.xz
nfs-utils-604bc72d3a4894d6569f8cc58d935cc62217aee6.zip
configure improvements
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index ca7ce4c..8134e93 100644
--- a/configure.in
+++ b/configure.in
@@ -117,10 +117,10 @@ AC_CHECK_LIB(socket, main, [LIBSOCKET="-lnsl"])
AC_CHECK_LIB(nsl, main, [LIBNSL="-lnsl"])
AC_CHECK_LIB(crypt, crypt, [LIBCRYPT="-lcrypt"])
if test "$enable_nfsv4" = yes; then
- AC_CHECK_LIB(event, event_dispatch)
- AC_CHECK_LIB(nfsidmap, nfs4_init_name_mapping)
- AC_CHECK_HEADERS(event.h)
- AC_CHECK_HEADERS(nfsidmap.h)
+ AC_CHECK_LIB(event, event_dispatch, , [AC_MSG_ERROR(libevent needed for nfsv4 support)])
+ AC_CHECK_LIB(nfsidmap, nfs4_init_name_mapping, ,[AC_MSG_ERROR(libnfsidmap needed for nfsv4 support)])
+ AC_CHECK_HEADERS(event.h, ,[AC_MSG_ERROR(libevent needed for nfsv4 support)])
+ AC_CHECK_HEADERS(nfsidmap.h, ,[AC_MSG_ERROR(libnfsidmap needed for nfsv4 support)])
fi
if test "$knfsd_cv_glibc2" = no; then
AC_CHECK_LIB(bsd, daemon, [LIBBSD="-lbsd"])
@@ -204,8 +204,9 @@ if test "$enable_gss" = yes; then
done
dnl We didn't find a usable Kerberos environment
if test "x$KRBDIR" = "x"; then
+ AC_MSG_RESULT("no")
if test "x$krb5_with" = "x"; then
- AC_MSG_ERROR(Kerberos v5 with GSS support not found)
+ AC_MSG_ERROR(Kerberos v5 with GSS support not found: consider --disable-gss or --with-krb5=)
else
AC_MSG_ERROR(Kerberos v5 with GSS support not found at $krb5_with)
fi