1
0

patch-configure_ac 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. --- weechat-0.4.2.orig/configure.ac 2013-10-06 08:58:14.000000000 +0200
  2. +++ weechat-0.4.2/configure.ac 2013-11-07 10:07:42.000000000 +0100
  3. @@ -241,28 +241,6 @@ if test "x$ac_found_iconv_header" = "xye
  4. ICONV_LFLAGS="-liconv"
  5. LIBS="$LIBS $ICONV_LFLAGS"
  6. fi
  7. - AC_MSG_CHECKING(for iconv usability in programs)
  8. - AC_TRY_RUN([
  9. - #include <iconv.h>
  10. - int main(int argc, char **argv) {
  11. - iconv_t conv = iconv_open("ISO8859-1", "UTF-8");
  12. - if (conv != (iconv_t) -1) {
  13. - return 0;
  14. - }
  15. - return 1;
  16. - }],iconv_found="yes")
  17. - if test "x$iconv_found" = "xno" ; then
  18. - AC_MSG_RESULT(no)
  19. - else
  20. - AC_MSG_RESULT(yes)
  21. - fi
  22. -fi
  23. -
  24. -if test "x$iconv_found" = "xno" ; then
  25. - AC_MSG_ERROR([
  26. -*** Iconv headers and/or libraries couldn't be found on your system.
  27. -*** Try to install them with your software package manager.
  28. -*** WeeChat can't be built without Iconv support.])
  29. fi
  30. # ------------------------------------------------------------------------------