0001-curl-confopts.m4-fix-disable-threaded-resolver.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. From 3cb4bb6b5fb8a936cb69e2e9ea6a4e692122abb9 Mon Sep 17 00:00:00 2001
  2. From: Jakub Zakrzewski <slither.jz@gmail.com>
  3. Date: Tue, 15 Aug 2017 13:21:33 -0400
  4. Subject: [PATCH] curl-confopts.m4: fix --disable-threaded-resolver
  5. Closes https://github.com/curl/curl/issues/1784
  6. Signed-off-by: Baruch Siach <baruch@tkos.co.il>
  7. ---
  8. Upstream status: commit 3cb4bb6b5fb
  9. m4/curl-confopts.m4 | 8 ++++----
  10. 1 file changed, 4 insertions(+), 4 deletions(-)
  11. diff --git a/m4/curl-confopts.m4 b/m4/curl-confopts.m4
  12. index d77a884d58bd..6dcd0f1a6794 100644
  13. --- a/m4/curl-confopts.m4
  14. +++ b/m4/curl-confopts.m4
  15. @@ -37,14 +37,14 @@ AC_HELP_STRING([--enable-threaded-resolver],[Enable threaded resolver])
  16. AC_HELP_STRING([--disable-threaded-resolver],[Disable threaded resolver]),
  17. OPT_THRES=$enableval)
  18. case "$OPT_THRES" in
  19. - *)
  20. - dnl configure option not specified
  21. - want_thres="yes"
  22. - ;;
  23. no)
  24. dnl --disable-threaded-resolver option used
  25. want_thres="no"
  26. ;;
  27. + *)
  28. + dnl configure option not specified
  29. + want_thres="yes"
  30. + ;;
  31. esac
  32. AC_MSG_RESULT([$want_thres])
  33. ])
  34. --
  35. 2.14.1