summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-25 11:22:01 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-26 15:01:04 +0100
commit853f9283fb8fbcd2078e3cf8e99d6c8e24d77346 (patch)
tree0c52005d201990b8263f314124391548b1accaae
parent510e37155eab8b4bf29adcf10f242334bfedca46 (diff)
downloadsamba-853f9283fb8fbcd2078e3cf8e99d6c8e24d77346.tar.gz
samba-853f9283fb8fbcd2078e3cf8e99d6c8e24d77346.tar.bz2
samba-853f9283fb8fbcd2078e3cf8e99d6c8e24d77346.zip
s4:heimdal_build: provide heimdal_version and heimdal_long_version symbols
metze
-rw-r--r--source4/heimdal_build/replace.c4
-rw-r--r--source4/heimdal_build/roken.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/source4/heimdal_build/replace.c b/source4/heimdal_build/replace.c
index 41309fea6e..ba43dd9495 100644
--- a/source4/heimdal_build/replace.c
+++ b/source4/heimdal_build/replace.c
@@ -84,3 +84,7 @@
return -1;
}
#endif
+
+const char *heimdal_version = "samba-internal-heimdal";
+const char *heimdal_long_version = "samba-interal-heimdal";
+
diff --git a/source4/heimdal_build/roken.h b/source4/heimdal_build/roken.h
index 9bffbcdc53..e3edd53872 100644
--- a/source4/heimdal_build/roken.h
+++ b/source4/heimdal_build/roken.h
@@ -100,4 +100,7 @@
#undef SOCKET_WRAPPER_REPLACE
#include "heimdal/lib/roken/roken.h.in"
+extern const char *heimdal_version;
+extern const char *heimdal_long_version;
+
#endif