"--disable-talloc" had the effect of a "--enable-system-talloc".
So the first patch fixes up all the link failures by adding -ltalloc
where needed, _for the case that one decides to use disable-talloc_.
Second patch will use pkg-config to determine the parameters for
a system talloc. These will be used unconditionally, because the
variables TALLOC_CFLAGS/TALLOC_LIBS will be empty when using the
bundled talloc.
===
The following changes since commit c60de4f35f3f73f3d79b4ff61d0a20b92f818702:
build: fix linker error with kasumi_test (2014-10-03 08:48:31 +0200)
are available in the git repository at:
git://git.inai.de/libosmocore HEAD
for you to fetch changes up to d6c1607a724a07416c7d39f9b43f7af7349de666:
build: default to system-provided talloc (2014-10-03 12:43:25 +0200)
----------------------------------------------------------------
Jan Engelhardt (3):
build: resolve link failure in libosmogsm when --disable-talloc is used
build: allow using a system-provided talloc properly
build: default to system-provided talloc
.gitignore | 1 +
configure.ac | 26 +++++++++++++++++++------
include/Makefile.am | 5 +++--
include/osmocom/core/talloc.h.in | 6 ++++++
include/osmocom/core/{talloc.h => talloc_int.h} | 0
src/Makefile.am | 7 ++++---
src/gsm/Makefile.am | 5 +++--
tests/Makefile.am | 12 ++++++------
tests/msgfile/msgfile_test.c | 1 +
9 files changed, 44 insertions(+), 19 deletions(-)
create mode 100644 include/osmocom/core/talloc.h.in
rename include/osmocom/core/{talloc.h => talloc_int.h} (100%)
The following changes since commit 603f6c40d55b87f81fbd8ff1ad7b9568f3b962ff:
build: rename INCLUDES to AM_CPPFLAGS in Makefile.am to avoid warnings (2014-09-11 18:22:02 +0200)
are available in the git repository at:
git://git.inai.de/libosmo-netif HEAD
for you to fetch changes up to 226e99483234c100e5a18ea12838d98a3b091de6:
build: remove all_includes (2014-10-02 23:22:55 +0200)
----------------------------------------------------------------
Jan Engelhardt (2):
build: put dependency libraries in the right place in Makefiles
build: remove all_includes
Makefile.am | 1 -
examples/Makefile.am | 2 +-
examples/channel/Makefile.am | 2 +-
src/Makefile.am | 6 +++---
src/channel/abis/Makefile.am | 5 +++--
tests/Makefile.am | 2 +-
tests/osmo-pcap-test/Makefile.am | 2 +-
7 files changed, 10 insertions(+), 10 deletions(-)
The following changes since commit 336915aa0a86316ba26cdfecbf160ed643ccf301:
prepare for 0.7.0 release (2014-08-21 15:53:20 +0200)
are available in the git repository at:
git://git.inai.de/libosmocore HEAD
for you to fetch changes up to 0929c5b1d3ae71fb600120fd5c60221495b8391c:
build: fix linker error with kasumi_test (2014-10-02 22:33:24 +0200)
----------------------------------------------------------------
Jan Engelhardt (5):
utils: resolve compiler warnings on implicit declarations
build: resolve link failure in libosmogsm when --disable-talloc is used
build: always install our talloc.h
build: remove unused all_includes and use AM_CPPFLAGS
build: fix linker error with kasumi_test
Makefile.am | 1 -
include/Makefile.am | 2 --
src/Makefile.am | 3 ++-
src/codec/Makefile.am | 3 ++-
src/gb/Makefile.am | 3 ++-
src/gsm/Makefile.am | 6 +++++-
src/vty/Makefile.am | 3 ++-
tests/Makefile.am | 6 +++---
utils/Makefile.am | 3 ++-
utils/osmo-auc-gen.c | 1 +
10 files changed, 19 insertions(+), 12 deletions(-)