summaryrefslogtreecommitdiffstats
path: root/SoftHSMv2/m4/acx_pedantic.m4
blob: 11808ee93df9f0af44e486bb65557b55dbdb393a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
AC_DEFUN([ACX_PEDANTIC],[
	AC_ARG_ENABLE(
		[pedantic],
		[AS_HELP_STRING([--enable-pedantic],[enable pedantic compile mode @<:@enabled@:>@])],
		,
		[enable_pedantic="yes"]
	)
	if test "${enable_pedantic}" = "yes"; then
		enable_strict="yes";
		CFLAGS="${CFLAGS} -pedantic"
	fi
])