From 609b2425429da30d95943aaa3e501bc0b49a389e Mon Sep 17 00:00:00 2001 From: DeHackEd Date: Thu, 3 May 2018 14:10:26 -0400 Subject: Fix inverted check for --enable-pyzfs The --{en,dis}able-pyzfs check is backwards. Fix that. Reviewed-by: Giuseppe Di Natale Reviewed-by: Brian Behlendorf Reviewed-by: George Melikov Reviewed-by: loli10K Signed-off-by: DHE Closes #7493 --- config/always-pyzfs.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/always-pyzfs.m4') diff --git a/config/always-pyzfs.m4 b/config/always-pyzfs.m4 index 1df11a5d7..c50acb099 100644 --- a/config/always-pyzfs.m4 +++ b/config/always-pyzfs.m4 @@ -47,7 +47,7 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_PYZFS], [ [enable_pyzfs=check]) AM_PATH_PYTHON([2.7], [], [ - AS_IF([test ! "x$enable_pyzfs" = xyes], [ + AS_IF([test "x$enable_pyzfs" = xyes], [ AC_MSG_ERROR("python >= 2.7 is not installed") ], [test ! "x$enable_pyzfs" = xno], [ enable_pyzfs=no -- cgit v1.2.3