blob: 589a72ec7fe6f73277aa96b5c3c40733703c22d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
AC_DEFUN([ACX_VISIBILITY],[
AC_ARG_ENABLE(
[visibility],
[AS_HELP_STRING([--disable-visibility],[disable hidden visibilty link mode @<:@enabled@:>@])],
[enable_visibility="${enableval}"],
[enable_visibility="yes"]
)
if test "${enable_visibility}" = "yes"; then
CFLAGS="${CFLAGS} -fvisibility=hidden"
CXXFLAGS="${CXXFLAGS} -fvisibility=hidden"
AC_DEFINE(CRYPTOKI_VISIBILITY, 1,
[Define to default visibility of PKCS@%:@11 entry points])
fi
])
|