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

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