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 c59f9b2..e971e42 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -89,9 +89,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