arrfab / rpms / abrt

Forked from rpms/abrt 5 years ago
Clone

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

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