Debian Codegraph @

m4/acx_pedantic.m4

raw
1 AC_DEFUN([ACX_PEDANTIC],[
2 AC_ARG_ENABLE(
3 [pedantic],
4 [AS_HELP_STRING([--enable-pedantic],[enable pedantic compile mode @<:@enabled@:>@])],
5 ,
6 [enable_pedantic="yes"]
7 )
8 if test "${enable_pedantic}" = "yes"; then
9 enable_strict="yes";
10 CFLAGS="${CFLAGS} -pedantic"
11 fi
12 ])