Re: [PATCH 1/1] Add a check for libdevmapper.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steve Dickson wrote:

  When NFS v4.1 is enable, the libdevemapp.h header file has to exist.
  
  Signed-off-by: Steve Dickson <steved@xxxxxxxxxx>
  ---
   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=

On Debian based systems it's libdevmapper-dev.

Did you get the patch I sent?  I added the check farther down, with the
other checks, and also checked for the library.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux