]> granicus.if.org Git - zfs/commitdiff
Fix inverted check for --enable-pyzfs
authorDeHackEd <DeHackEd@users.noreply.github.com>
Thu, 3 May 2018 18:10:26 +0000 (14:10 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 3 May 2018 18:10:26 +0000 (11:10 -0700)
The --{en,dis}able-pyzfs check is backwards. Fix that.

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Signed-off-by: DHE <git@dehacked.net>
Closes #7493

config/always-pyzfs.m4

index 1df11a5d73f62f43899044c4b27a630458883313..c50acb0996a488a4aa15eb634d8a4dddd0f8ae2b 100644 (file)
@@ -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