summaryrefslogtreecommitdiffstats
path: root/config/always-pyzfs.m4
diff options
context:
space:
mode:
authorDeHackEd <[email protected]>2018-05-03 14:10:26 -0400
committerBrian Behlendorf <[email protected]>2018-05-03 11:10:26 -0700
commit609b2425429da30d95943aaa3e501bc0b49a389e (patch)
treed8a942fda452db032aacb678a2e0c60dae5e8afc /config/always-pyzfs.m4
parent1a62a305be01972ef1b81469134faa4937836096 (diff)
Fix inverted check for --enable-pyzfs
The --{en,dis}able-pyzfs check is backwards. Fix that. Reviewed-by: Giuseppe Di Natale <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: loli10K <[email protected]> Signed-off-by: DHE <[email protected]> Closes #7493
Diffstat (limited to 'config/always-pyzfs.m4')
-rw-r--r--config/always-pyzfs.m42
1 files changed, 1 insertions, 1 deletions
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