linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] Add a check for libdevmapper.h
@ 2011-09-26 11:41 Steve Dickson
  2011-09-26 12:23 ` Jim Rees
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Dickson @ 2011-09-26 11:41 UTC (permalink / raw)
  To: Linux NFS Mailing List

When NFS v4.1 is enable, the libdevemapp.h header file has to exist.

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 80fb39d..572b33d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,6 +80,7 @@ AC_ARG_ENABLE(nfsv41,
 			AC_MSG_ERROR([NFS v4.1 is enabled but NFS v4 is not. Use --disable-nfsv41])
 		fi
 		BLKMAPD=blkmapd
+   		AC_CHECK_HEADER(libdevmapper.h, , AC_MSG_ERROR([Cannot find libdevmapper.h header file. Try installing device-mapper-devel]))
 	else
 		enable_nfsv41=
 		BLKMAPD=
-- 
1.7.6


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-26 13:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-26 11:41 [PATCH 1/1] Add a check for libdevmapper.h Steve Dickson
2011-09-26 12:23 ` Jim Rees
2011-09-26 13:26   ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).