summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2011-08-09 17:56:47 +0000
committerAlasdair Kergon <agk@redhat.com>2011-08-09 17:56:47 +0000
commit2061c0ec24887cbf4a74f2355150890474ed84cf (patch)
tree7cefa27127b0cab787fd98251cec2e2ae09fc11e /configure.in
parentcf9927697bb34bf936767ca285b85f6687e785d7 (diff)
downloadlvm2-2061c0ec24887cbf4a74f2355150890474ed84cf.tar.gz
lvm2-2061c0ec24887cbf4a74f2355150890474ed84cf.tar.xz
lvm2-2061c0ec24887cbf4a74f2355150890474ed84cf.zip
Remove support for the original dm ioctl interface version 1.
Leave the basic support for multiple versions in case we have a new version in future.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 24f1ec48..29120fc2 100644
--- a/configure.in
+++ b/configure.in
@@ -846,6 +846,14 @@ AC_ARG_ENABLE(compat,
[enable support for old device-mapper versions]),
DM_COMPAT=$enableval, DM_COMPAT=no)
+if test x$DM_COMPAT = xyes; then
+ AC_MSG_ERROR(
+ [--enable-compat is not currently supported.
+Since device-mapper version 1.02.66, only one version (4) of the device-mapper
+ioctl protocol is supported.]
+ )
+fi
+
################################################################################
dnl -- Compatible units suffix mode
AC_ARG_ENABLE(units-compat,