r8556@Kushana: nickm | 2006-08-22 01:22:46 -0400

Enable eventdns by default on platforms where we autoconf.  This should be everything but windows.


svn:r8214
This commit is contained in:
Nick Mathewson 2006-08-22 06:10:53 +00:00
parent d08df9686a
commit 3ba39a768a

View File

@ -46,11 +46,11 @@ fi
AC_ARG_ENABLE(eventdns, AC_ARG_ENABLE(eventdns,
AC_HELP_STRING(--enable-eventdns, enable asynchronous dns module), AC_HELP_STRING(--enable-eventdns, enable asynchronous dns module),
[case "${enableval}" in [case "${enableval}" in
yes) eventdns=true ;; yes) eventdns=true ;;
no) eventdns=false ;; no) eventdns=false ;;
*) AC_MSG_ERROR(bad value for --enable-eventdns) ;; *) AC_MSG_ERROR(bad value for --enable-eventdns) ;;
esac], [eventdns=false]) esac], [eventdns=true])
AM_CONDITIONAL(EVENTDNS, test x$eventdns = xtrue) AM_CONDITIONAL(EVENTDNS, test x$eventdns = xtrue)
if test x$eventdns = xtrue; then if test x$eventdns = xtrue; then
AC_DEFINE([USE_EVENTDNS], 1, "Define to 1 if we'll be using eventdns.c") AC_DEFINE([USE_EVENTDNS], 1, "Define to 1 if we'll be using eventdns.c")