aboutsummaryrefslogtreecommitdiff
path: root/ares/m4/cares-confopts.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-10-29 01:34:19 +0000
committerYang Tse <yangsita@gmail.com>2009-10-29 01:34:19 +0000
commit265ed24ac09aacabb9422b4f2fe8a12dc338a633 (patch)
tree76518eecac0f5c7c583407d40034c605090a1977 /ares/m4/cares-confopts.m4
parent57eeee2ec37618dd90f2978a5426631214c18280 (diff)
External API function linkage decoration adjustment
Diffstat (limited to 'ares/m4/cares-confopts.m4')
-rw-r--r--ares/m4/cares-confopts.m49
1 files changed, 7 insertions, 2 deletions
diff --git a/ares/m4/cares-confopts.m4 b/ares/m4/cares-confopts.m4
index 5af3232ad..241bb498e 100644
--- a/ares/m4/cares-confopts.m4
+++ b/ares/m4/cares-confopts.m4
@@ -16,7 +16,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
-# serial 6
+# serial 7
dnl CARES_CHECK_OPTION_CURLDEBUG
@@ -303,10 +303,15 @@ dnl been done to prevent interferences on other tests.
AC_DEFUN([CARES_CONFIGURE_HIDDEN_SYMBOLS], [
AC_MSG_CHECKING([whether to actually hide library internal symbols])
- if test "$want_hidden_symbols" = "yes" &&
+ if test x"$ac_cv_native_windows" != "xyes" &&
+ test "$want_hidden_symbols" = "yes" &&
test "$hidden_symbols_supported" = "yes"; then
tmp_save_CFLAGS="$CFLAGS"
CFLAGS="$tmp_save_CFLAGS $hidden_symbols_CFLAGS"
+ AC_DEFINE_UNQUOTED(CARES_HIDDEN_SYMBOLS, 1,
+ [Define to 1 to enable hiding of library internal symbols.])
+ AC_DEFINE_UNQUOTED(CARES_EXTERN_SYMBOL, $hidden_symbols_extern,
+ [Definition to make a library symbol externally visible.])
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])