From efccef09aec93180a06955b5e03f1ceb99dc39e8 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 7 Jun 2009 14:10:15 -0400 Subject: Add exports file and abi checker for tevent 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 tevent.h contents and the gcc -aux-info option --- lib/tevent/libtevent.m4 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/tevent/libtevent.m4') diff --git a/lib/tevent/libtevent.m4 b/lib/tevent/libtevent.m4 index 20730b17d6..4162ba30f9 100644 --- a/lib/tevent/libtevent.m4 +++ b/lib/tevent/libtevent.m4 @@ -38,3 +38,8 @@ if test x"$ac_cv_header_sys_epoll_h" = x"yes" -a x"$ac_cv_func_epoll_create" = x AC_DEFINE(HAVE_EPOLL, 1, [Whether epoll available]) fi +if test x"$VERSIONSCRIPT" != "x"; then + EXPORTSFILE=tevent.exports + AC_SUBST(EXPORTSFILE) +fi + -- cgit