Blame SOURCES/0155-abrt-auto-reporting-fix-related-to-conditional-compi.patch

06486d
From 5da022d3f1e6e54067dc265a6f6a37b9214daa6d Mon Sep 17 00:00:00 2001
06486d
From: Matej Habrnal <mhabrnal@redhat.com>
06486d
Date: Tue, 28 Jul 2015 13:17:25 +0200
06486d
Subject: [PATCH] abrt-auto-reporting: fix related to conditional compilation
06486d
06486d
We discovered that conditional compilation in abrt-auto-reporting does not
06486d
work. We forgot add -DAUTHENTICATED_AUTOREPORTING=1 flag if
06486d
AUTHENTICATED_AUTOREPORTING is enabled.
06486d
06486d
Related to rhbz#1191572
06486d
---
06486d
 src/daemon/Makefile.am | 5 +++++
06486d
 1 file changed, 5 insertions(+)
06486d
06486d
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
06486d
index 7211216..8cbc2bc 100644
06486d
--- a/src/daemon/Makefile.am
06486d
+++ b/src/daemon/Makefile.am
06486d
@@ -107,6 +107,11 @@ abrt_auto_reporting_CPPFLAGS = \
06486d
     -I$(srcdir)/../lib \
06486d
     $(LIBREPORT_CFLAGS) \
06486d
     -D_GNU_SOURCE
06486d
+
06486d
+if AUTHENTICATED_AUTOREPORTING
06486d
+abrt_auto_reporting_CPPFLAGS += -DAUTHENTICATED_AUTOREPORTING=1
06486d
+endif
06486d
+
06486d
 abrt_auto_reporting_LDADD = \
06486d
     ../lib/libabrt.la \
06486d
     $(LIBREPORT_LIBS)
06486d
-- 
06486d
2.4.3
06486d