* [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
* Re: [PATCH 1/1] Add a check for libdevmapper.h
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
0 siblings, 1 reply; 3+ messages in thread
From: Jim Rees @ 2011-09-26 12:23 UTC (permalink / raw)
To: Steve Dickson; +Cc: Linux NFS Mailing List
Steve Dickson wrote:
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=
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] Add a check for libdevmapper.h
2011-09-26 12:23 ` Jim Rees
@ 2011-09-26 13:26 ` Steve Dickson
0 siblings, 0 replies; 3+ messages in thread
From: Steve Dickson @ 2011-09-26 13:26 UTC (permalink / raw)
To: Jim Rees; +Cc: Linux NFS Mailing List
On 09/26/2011 08:23 AM, Jim Rees wrote:
> Steve Dickson wrote:
>
> 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=
>
> 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.
ah... no I did not but I do now... Lets go with your patch...
steved.
^ permalink raw reply [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).