From: DeHackEd Date: Thu, 3 May 2018 18:10:26 +0000 (-0400) Subject: Fix inverted check for --enable-pyzfs X-Git-Tag: zfs-0.8.0-rc1~185 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=609b2425429da30d95943aaa3e501bc0b49a389e;p=zfs 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 --- 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