aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-11-15 02:45:23 +0000
committerYang Tse <yangsita@gmail.com>2009-11-15 02:45:23 +0000
commit581ce03345d38b124c03c30dcfadcc5b2a2dd819 (patch)
tree8ae009deea777de10c07de3c7f418c54c6c7387a /ares
parentf7f76e17c386530b37a49ce1d55cbf77d00f9c00 (diff)
Remove enable-thread / disable-thread configure option. These were only placebo
options. The library is always built as thread safe as possible on every system.
Diffstat (limited to 'ares')
-rw-r--r--ares/configure.ac27
1 files changed, 0 insertions, 27 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index f1f52a5bc..4c719cf75 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -382,33 +382,6 @@ AC_HELP_STRING([--enable-libgcc],[use libgcc when linking]),
)
-dnl Default is to try the thread-safe versions of a few functions
-OPT_THREAD=on
-
-AC_ARG_ENABLE(thread,dnl
-AC_HELP_STRING([--disable-thread],[don't look for thread-safe functions])
-AC_HELP_STRING([--enable-thread],[look for thread-safe functions]),
-[ case "$enableval" in
- no)
- OPT_THREAD=off
- AC_MSG_WARN(c-ares will not get built using thread-safe functions)
- ;;
- *)
- ;;
- esac
-]
-)
-
-if test X"$OPT_THREAD" = Xoff
-then
- AC_DEFINE(DISABLED_THREADSAFE, 1,
- [Set to explicitly specify we don't want to use thread-safe functions])
-fi
-
-dnl for recent AIX versions, we skip all the thread-safe checks above since
-dnl they claim a thread-safe libc using the standard API. But there are
-dnl some functions still not thread-safe. Check for these!
-
dnl Let's hope this split URL remains working:
dnl http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/ \
dnl genprogc/thread_quick_ref.htm