build: Expose whether symbol hiding is on
Adding the CARES_SYMBOL_HIDING definition allows the test suite to detect whether internal symbols are available or not.
This commit is contained in:
parent
ace90cce05
commit
8042524c70
|
@ -388,5 +388,9 @@ AC_DEFUN([CARES_CONFIGURE_SYMBOL_HIDING], [
|
|||
fi
|
||||
AM_CONDITIONAL(DOING_CARES_SYMBOL_HIDING, test x$doing_symbol_hiding = xyes)
|
||||
AC_SUBST(CFLAG_CARES_SYMBOL_HIDING)
|
||||
if test "$doing_symbol_hiding" = "yes"; then
|
||||
AC_DEFINE_UNQUOTED(CARES_SYMBOL_HIDING, 1,
|
||||
[Defined for build with symbol hiding.])
|
||||
fi
|
||||
])
|
||||
|
||||
|
|
Loading…
Reference in New Issue