build: check visibility attributes

This commit is contained in:
Cory Fields
2014-10-14 17:31:16 -04:00
parent 811a765bef
commit f36a40f7fd
2 changed files with 223 additions and 0 deletions

View File

@ -346,6 +346,10 @@ fi
AX_CHECK_LINK_FLAG([[-Wl,--large-address-aware]], [LDFLAGS="$LDFLAGS -Wl,--large-address-aware"])
AX_GCC_FUNC_ATTRIBUTE([visibility])
AX_GCC_FUNC_ATTRIBUTE([dllexport])
AX_GCC_FUNC_ATTRIBUTE([dllimport])
if test x$use_glibc_compat != xno; then
#__fdelt_chk's params and return type have changed from long unsigned int to long int.