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 | |
]) |