blob: 0bb8089a03daef4d7190dbe8092a6c1c0ffb5686 [file] [log] [blame]
AC_DEFUN([ACX_STRICT],[
AC_ARG_ENABLE(
[strict],
[AS_HELP_STRING([--enable-strict],[enable strict compile mode @<:@enabled@:>@])],
,
[enable_strict="yes"]
)
if test "${enable_strict}" = "yes"; then
CFLAGS="${CFLAGS} -Wall -Wextra"
CXXFLAGS="${CXXFLAGS} -Wall -Wextra"
fi
])