diff options
author | Yang Tse <yangsita@gmail.com> | 2010-01-27 04:56:07 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-01-27 04:56:07 +0000 |
commit | 124b35aafe5539cd2bb464e34d233a85862017d6 (patch) | |
tree | 20549fdb07e8719ed9c72bc499438ec46a3dd922 /m4/curl-confopts.m4 | |
parent | bbefdf88fdd9c0a2c36966960b360a5a7e9bf764 (diff) | |
download | curl-124b35aafe5539cd2bb464e34d233a85862017d6.tar.gz |
fix c-ares assumed check being skipped
Diffstat (limited to 'm4/curl-confopts.m4')
-rw-r--r-- | m4/curl-confopts.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/curl-confopts.m4 b/m4/curl-confopts.m4 index 81f43bc8a..76bf9a889 100644 --- a/m4/curl-confopts.m4 +++ b/m4/curl-confopts.m4 @@ -22,7 +22,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. -# serial 8 +# serial 9 dnl CURL_CHECK_OPTION_ARES @@ -363,7 +363,7 @@ dnl to enable support of this library. AC_DEFUN([CURL_CHECK_LIB_ARES], [ # - if test "$want_ares" = "yes"; then + if test "$want_ares" = "yes" || test "$want_ares" = "assume_yes"; then dnl c-ares library support has been requested clean_CPPFLAGS="$CPPFLAGS" clean_LDFLAGS="$LDFLAGS" @@ -430,7 +430,7 @@ AC_DEFUN([CURL_CHECK_LIB_ARES], [ want_ares="no" ]) fi - if test "$want_ares" = "yes"; then + if test "$want_ares" != "no"; then dnl finally c-ares will be used AC_DEFINE(USE_ARES, 1, [Define to enable c-ares support]) AC_SUBST([USE_ARES], [1]) |