diff options
Diffstat (limited to 'config/always-cppcheck.m4')
-rw-r--r-- | config/always-cppcheck.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/always-cppcheck.m4 b/config/always-cppcheck.m4 new file mode 100644 index 000000000..c7c134a3e --- /dev/null +++ b/config/always-cppcheck.m4 @@ -0,0 +1,6 @@ +dnl # +dnl # Check if cppcheck is available. +dnl # +AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_CPPCHECK], [ + AC_CHECK_PROG([CPPCHECK], [cppcheck], [cppcheck]) +]) |