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.
pull/34/head
David Drysdale 9 years ago
parent ace90cce05
commit 8042524c70
  1. 4
      m4/cares-confopts.m4

@ -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…
Cancel
Save