100-optional-perl-xml-parser.patch 721 B

12345678910111213141516171819202122
  1. --- a/configure.in
  2. +++ b/configure.in
  3. @@ -25,7 +25,7 @@ AC_MSG_CHECKING([for XML::Parser])
  4. if `$PERL -e "require XML::Parser" 2>/dev/null`; then
  5. AC_MSG_RESULT([ok])
  6. else
  7. - AC_MSG_ERROR([XML::Parser perl module is required for intltool])
  8. + AC_MSG_RESULT([XML::Parser perl module is required for some intltool utilitities])
  9. fi
  10. AC_OUTPUT([
  11. --- a/intltool.m4
  12. +++ b/intltool.m4
  13. @@ -127,7 +127,7 @@ if test "x$2" != "xno-xml"; then
  14. if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
  15. AC_MSG_RESULT([ok])
  16. else
  17. - AC_MSG_ERROR([XML::Parser perl module is required for intltool])
  18. + AC_MSG_RESULT([XML::Parser perl module is required for some intltool utilitities])
  19. fi
  20. fi