AX_PROG_SPLINT([AX_SPLINTFLAGS])
Check for program splint, the static C code checking tool. The splint URL is given by http://www.splint.org. This macro should be use together with automake.
Enables following environment variables:
SPLINT SPLINTFLAGS
and AX_SPLINTFLAGS is given by AC_SUBST. If AX_SPLINTFLAGS is not given by AX_PROG_SPLINT it defaults to "-weak".
Enables the following make target:
splint-check
which runs splint per PROGRAMS and LIBRARIES. Output from splint run is collected in file ***_splint.log where *** is given by the PROGRAMS or LIBRARIES name.
The following line is required in Makefile.am:
include aminclude_static.am
Download the latest version of ax_prog_splint.m4 or browse the macro’s revision history.
Copyright © 2011 Henrik Uhrenholt
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.