diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-06-07 14:20:36 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-06-15 16:31:12 -0400 |
commit | e83f4b868b208724a732b45a0aa4f6ee8a08b115 (patch) | |
tree | 069ee993c7174df542899fe08227289a2a9d0cca /lib/talloc/libtalloc.m4 | |
parent | 7aee9f92e7c3e3eb48c0456d821125b60f8d8259 (diff) | |
download | samba-e83f4b868b208724a732b45a0aa4f6ee8a08b115.tar.gz samba-e83f4b868b208724a732b45a0aa4f6ee8a08b115.tar.bz2 samba-e83f4b868b208724a732b45a0aa4f6ee8a08b115.zip |
Add exports file and abi checker for talloc
This is a first attempt at exporting symbols only for public functions
We also provide a rudimentary ABI checker that tries to check that
function signatures are not changed by mistake.
Given our use of macros this is not an API checker.
It's all based on talloc.h contents and the gcc -aux-info option
Diffstat (limited to 'lib/talloc/libtalloc.m4')
-rw-r--r-- | lib/talloc/libtalloc.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/talloc/libtalloc.m4 b/lib/talloc/libtalloc.m4 index e6830fbef6..4b22c8e41a 100644 --- a/lib/talloc/libtalloc.m4 +++ b/lib/talloc/libtalloc.m4 @@ -31,3 +31,8 @@ if test $ac_cv_sizeof_size_t -lt $ac_cv_sizeof_void_p; then AC_WARN([sizeof(void *) = $ac_cv_sizeof_void_p]) AC_ERROR([sizeof(size_t) < sizeof(void *)]) fi + +if test x"$VERSIONSCRIPT" != "x"; then + EXPORTSFILE=talloc.exports + AC_SUBST(EXPORTSFILE) +fi |