arrfab / rpms / abrt

Forked from rpms/abrt 5 years ago
Clone

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

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