fixed compilation when cppcheck is not installed.
[ppastats.git] / configure.ac
index 55b1f53..53d79bd 100644 (file)
@@ -64,5 +64,6 @@ AC_CONFIG_FILES([ po/Makefile.in
 AC_CHECK_PROGS([HELP2MAN], [help2man])
 
 AC_CHECK_PROG(HAVE_CPPCHECK, cppcheck, yes)
+AM_CONDITIONAL(CPPCHECK, test -n "$HAVE_CPPCHECK")
 
 AC_OUTPUT