doczkal / rpms / abrt

Forked from rpms/abrt 4 years ago
Clone

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

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