freebsd-ports/security/suricata/files/patch-configure.ac
Kubilay Kocak c11a20df8f security/suricata: Update to 3.0 RC3
- Update DISTVERSION and distinfo checksum (3.0RC3)
- Pet portlint (makepatch: patch UTC time)

Merry Christmas All! HO HO HO

PR:		205306
Submitted by:	Franco Fichtner <franco opnsense org>
2015-12-24 13:31:53 +00:00

15 lines
663 B
Text

--- configure.ac.orig 2015-12-08 13:09:16 UTC
+++ configure.ac
@@ -853,8 +853,10 @@
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"
-
+ AX_CHECK_COMPILE_FLAG([-Wno-error=unused-result],
+ [CFLAGS="${CFLAGS} -Wno-error=unused-result"],
+ [])
+
AS_IF([test "x$enable_prelude" = "xyes"], [
AM_PATH_LIBPRELUDE(0.9.9, , AC_MSG_ERROR(Cannot find libprelude: Is libprelude-config in the path?), no)
if test "x${LIBPRELUDE_CFLAGS}" != "x"; then