diff mbox

[ndctl,1/8] ndctl: make --enable-local the default

Message ID 20160308233633.18628.65570.stgit@dwillia2-desk3.jf.intel.com (mailing list archive)
State Accepted
Commit df5a175efe6b
Headers show

Commit Message

Dan Williams March 8, 2016, 11:36 p.m. UTC
Using the kernel provided header is only useful when you want to
de-feature ndctl at compile-time.  Otherwise, ndctl is responsible for
failing gracefully when it finds it is running against an older kernel
that is missing newer capabilities.  The kernel is responsible for
making sure that old ndctl binaries continue to operate on newer
kernels.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 configure.ac |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index 3f61b6de250e..9506e8e7dd25 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,8 +85,8 @@  PKG_CHECK_MODULES([UUID], [uuid])
 PKG_CHECK_MODULES([JSON], [json-c])
 
 AC_ARG_ENABLE([local],
-        AS_HELP_STRING([--enable-local], [build with local ndctl.h @<:@default=system@:>@]),
-        [], [enable_local=no])
+        AS_HELP_STRING([--disable-local], [build against kernel ndctl.h @<:@default=system@:>@]),
+        [], [enable_local=yes])
 
 AS_IF([test "x$enable_local" = "xyes"], [], [
 	AC_CHECK_HEADER([linux/ndctl.h], [