patch-configure 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --- weechat-0.3.2.orig/configure 2010-04-17 11:40:27.000000000 +0200
  2. +++ weechat-0.3.2/configure 2010-07-09 17:34:32.236316102 +0200
  3. @@ -17146,36 +17146,8 @@ else
  4. fi
  5. fi
  6. - if test "x$ac_found_iconv_lib" = "xyes" ; then
  7. - ICONV_LFLAGS="-liconv"
  8. - LIBS="$LIBS $ICONV_LFLAGS"
  9. - fi
  10. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv usability in programs" >&5
  11. -$as_echo_n "checking for iconv usability in programs... " >&6; }
  12. - if test "$cross_compiling" = yes; then :
  13. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  14. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  15. -as_fn_error "cannot run test program while cross compiling
  16. -See \`config.log' for more details." "$LINENO" 5; }
  17. -else
  18. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19. -/* end confdefs.h. */
  20. - #include <iconv.h>
  21. - int main(int argc, char **argv) {
  22. - iconv_t conv = iconv_open("ISO8859-1", "UTF-8");
  23. - if (conv != (iconv_t) -1) {
  24. - return 0;
  25. - }
  26. - return 1;
  27. - }
  28. -_ACEOF
  29. -if ac_fn_c_try_run "$LINENO"; then :
  30. - iconv_found="yes"
  31. -fi
  32. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  33. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  34. -fi
  35. +iconv_found="yes"
  36. if test "x$iconv_found" = "xno" ; then
  37. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5