aboutsummaryrefslogtreecommitdiffstats
path: root/config/always-cppcheck.m4
blob: fa5a3398d9239b4e44bc4d2c4d249f30abd85926 (plain)
1
2
3
4
5
6
7
8
9
dnl #
dnl # Check if cppcheck is available.
dnl #
AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_CPPCHECK], [
	AC_CHECK_PROG([CPPCHECK], [cppcheck], [cppcheck])
	if test -z "$CPPCHECK"; then
		CPPCHECK='@printf "skipping cppcheck because cppcheck is not installed\n"'
	fi
])