# prelude
AC_ARG_ENABLE(prelude,
AS_HELP_STRING([--enable-prelude], [Enable Prelude support for alerts]),,[enable_prelude=no])
+ # Prelude doesn't work with -Werror
+ STORECFLAGS="${CFLAGS}"
+ CFLAGS="${CFLAGS} -Wno-error=unused-result"
+
AS_IF([test "x$enable_prelude" = "xyes"], [
CFLAGS="$CFLAGS -DPRELUDE"
AM_PATH_LIBPRELUDE(0.9.9, , AC_MSG_ERROR(Cannot find libprelude: Is libprelude-config in the path?), no)
LDFLAGS="${LDFLAGS} ${LIBPRELUDE_LIBS}"
fi
])
+ CFLAGS="${STORECFLAGS}"
+
# libnet
AC_ARG_WITH(libnet_includes,