Fix regression in dmu_buf_will_fill()
[zfs.git] / config / always-shellcheck.m4
blob2a9a099746f426f0d6339cfef7e41a9e0c75ef7f
1 dnl #
2 dnl # Check if shellcheck and/or checkbashisms are available.
3 dnl #
4 AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_SHELLCHECK], [
5         AC_CHECK_PROG([SHELLCHECK], [shellcheck], [yes])
6         AC_CHECK_PROG([CHECKBASHISMS], [checkbashisms], [yes])
8         AM_CONDITIONAL([HAVE_SHELLCHECK], [test "x$SHELLCHECK" = "xyes"])
9         AM_CONDITIONAL([HAVE_CHECKBASHISMS], [test "x$CHECKBASHISMS" = "xyes"])