This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
abrt-addon-python3/0155-abrt-auto-reporting-fix-related-to-conditional-compi.patch
Matej Habrnal 69165ba9cc Introduce abrt-addon-python3 package
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
2017-07-04 09:22:28 +02:00

33 lines
974 B
Diff

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