Workaround issue of Linux vdev_disk.c, (#16678)
[zfs.git] / config / always-cppcheck.m4
blobfa5a3398d9239b4e44bc4d2c4d249f30abd85926
1 dnl #
2 dnl # Check if cppcheck is available.
3 dnl #
4 AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_CPPCHECK], [
5         AC_CHECK_PROG([CPPCHECK], [cppcheck], [cppcheck])
6         if test -z "$CPPCHECK"; then
7                 CPPCHECK='@printf "skipping cppcheck because cppcheck is not installed\n"'
8         fi
9 ])