summaryrefslogtreecommitdiff
path: root/lib/talloc/Makefile.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/Makefile.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/Makefile.in')
-rw-r--r--lib/talloc/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/talloc/Makefile.in b/lib/talloc/Makefile.in
index a45f72bede..8baa28baae 100644
--- a/lib/talloc/Makefile.in
+++ b/lib/talloc/Makefile.in
@@ -16,7 +16,10 @@ CC = @CC@
CFLAGS = @CFLAGS@ -DHAVE_CONFIG_H= -I. -I@srcdir@
EXTRA_TARGETS = @DOC_TARGET@
PICFLAG = @PICFLAG@
-PACKAGE_VERSION = @PACKAGE_VERSION@
+TALLOC_VERSION = @TALLOC_VERSION@
+TALLOC_VERSION_MAJOR = @TALLOC_VERSION_MAJOR@
+TALLOC_VERSION_MINOR = @TALLOC_VERSION_MINOR@
+TALLOC_VERSION_RELEASE = @TALLOC_VERSION_RELEASE@
SHLIBEXT = @SHLIBEXT@
SHLD = @SHLD@
SHLD_FLAGS = @SHLD_FLAGS@