File osmo-talloc2.diff of Package libosmocore

From e539a62cadc2d182ed5fff77da86d8ab727d6dbe Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Sun, 17 Feb 2013 21:13:29 +0100
Subject: [PATCH 3/4] build: always install our talloc.h

Next-level packages like libosmo-abis strictly depend on
<osmocom/core/talloc.h>, therefore always ship this file. When
distributions are using --disable-talloc to use a system talloc
instead of the shipped copy, they will simply have to overwrite
osmocom/core/talloc.h with the single line #include <talloc.h>.
---
 include/Makefile.am | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/Makefile.am b/include/Makefile.am
index b035906..2db13ae 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -81,9 +81,7 @@ if ENABLE_PLUGIN
 nobase_include_HEADERS += osmocom/core/plugin.h
 endif
 
-if ENABLE_TALLOC
 nobase_include_HEADERS += osmocom/core/talloc.h
-endif
 
 if ENABLE_MSGFILE
 nobase_include_HEADERS += osmocom/core/msgfile.h
-- 
2.0.0

openSUSE Build Service is sponsored by