You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.8 KiB

  1. --- a/configure
  2. +++ b/configure
  3. @@ -2255,35 +2255,35 @@ fi
  4. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version" >&5
  5. $as_echo "$version" >&6; }
  6. -# See if dnspython is installed.
  7. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dnspython" >&5
  8. -$as_echo_n "checking dnspython... " >&6; }
  9. -
  10. -cat > conftest.py <<EOF
  11. -try:
  12. - import dns.resolver
  13. - res = 'ok'
  14. -except ImportError:
  15. - res = 'no'
  16. -fp = open("conftest.out", "w")
  17. -fp.write("%s\n" % res)
  18. -fp.close()
  19. -EOF
  20. -
  21. -$PYTHON conftest.py
  22. -havednspython=`cat conftest.out`
  23. -rm -f conftest.out conftest.py
  24. -if test "$havednspython" = "no"
  25. -then
  26. - as_fn_error $? "
  27. -
  28. -***** dnspython not found. It is required for the new
  29. -***** dmarc_moderation_action featurer. Get it from
  30. -***** <http://www.dnspython.org/> or
  31. -***** <https://pypi.python.org/pypi/dnspython/>" "$LINENO" 5
  32. -fi
  33. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $havednspython" >&5
  34. -$as_echo "$havednspython" >&6; }
  35. +## See if dnspython is installed.
  36. +#{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dnspython" >&5
  37. +#$as_echo_n "checking dnspython... " >&6; }
  38. +#
  39. +#cat > conftest.py <<EOF
  40. +#try:
  41. +# import dns.resolver
  42. +# res = 'ok'
  43. +#except ImportError:
  44. +# res = 'no'
  45. +#fp = open("conftest.out", "w")
  46. +#fp.write("%s\n" % res)
  47. +#fp.close()
  48. +#EOF
  49. +#
  50. +#$PYTHON conftest.py
  51. +#havednspython=`cat conftest.out`
  52. +#rm -f conftest.out conftest.py
  53. +#if test "$havednspython" = "no"
  54. +#then
  55. +# as_fn_error $? "
  56. +#
  57. +#***** dnspython not found. It is required for the new
  58. +#***** dmarc_moderation_action featurer. Get it from
  59. +#***** <http://www.dnspython.org/> or
  60. +#***** <https://pypi.python.org/pypi/dnspython/>" "$LINENO" 5
  61. +#fi
  62. +#{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $havednspython" >&5
  63. +#$as_echo "$havednspython" >&6; }
  64. # Check the email package version.
  65. { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python's email package" >&5