summaryrefslogtreecommitdiff
path: root/lib/talloc/talloc.pc.in
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-08-20 13:43:42 +0200
committerAndrew Tridgell <tridge@samba.org>2009-08-24 16:29:58 +1000
commit6c9ace27c591e48fdffdf5add6b4e11b2f669922 (patch)
tree3aac85ba1c52b0795bc543cc80d0b0657e3a8611 /lib/talloc/talloc.pc.in
parent9baacbbbdf766b87512f6d0f518f91decbbf2e2b (diff)
downloadsamba-6c9ace27c591e48fdffdf5add6b4e11b2f669922.tar.gz
samba-6c9ace27c591e48fdffdf5add6b4e11b2f669922.tar.bz2
samba-6c9ace27c591e48fdffdf5add6b4e11b2f669922.zip
talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSION
We also use the major and minor versions in the TALLOC_MAGIC, so that we can detect if two conflicting versions of talloc are loaded in one process. In this case we use talloc_log() to output a very useful debug message before we call talloc_abort(). metze
Diffstat (limited to 'lib/talloc/talloc.pc.in')
-rw-r--r--lib/talloc/talloc.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/talloc/talloc.pc.in b/lib/talloc/talloc.pc.in
index 459cce70b1..5ce2109866 100644
--- a/lib/talloc/talloc.pc.in
+++ b/lib/talloc/talloc.pc.in
@@ -5,7 +5,7 @@ includedir=@includedir@
Name: talloc
Description: A hierarchical pool based memory system with destructors
-Version: @PACKAGE_VERSION@
+Version: @TALLOC_VERSION@
Libs: -L${libdir} -ltalloc
Cflags: -I${includedir}
URL: http://talloc.samba.org/