diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-07 13:46:43 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-07 13:46:43 +0100 |
commit | 79be206de9335752c6355995961b69846c641410 (patch) | |
tree | 76c9b28a3406227dcf1dd924467a659a213770d9 /package/weechat/patches/patch-configure_ac | |
parent | 8cc6444e13a2670407eedee0d417cee6b3ce03e8 (diff) | |
parent | 048f67743435770ed358a9d79323c0a4e04d8c68 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/weechat/patches/patch-configure_ac')
-rw-r--r-- | package/weechat/patches/patch-configure_ac | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/weechat/patches/patch-configure_ac b/package/weechat/patches/patch-configure_ac new file mode 100644 index 000000000..11894d691 --- /dev/null +++ b/package/weechat/patches/patch-configure_ac @@ -0,0 +1,31 @@ +--- weechat-0.4.2.orig/configure.ac 2013-10-06 08:58:14.000000000 +0200 ++++ weechat-0.4.2/configure.ac 2013-11-07 10:07:42.000000000 +0100 +@@ -241,28 +241,6 @@ if test "x$ac_found_iconv_header" = "xye + ICONV_LFLAGS="-liconv" + LIBS="$LIBS $ICONV_LFLAGS" + fi +- AC_MSG_CHECKING(for iconv usability in programs) +- AC_TRY_RUN([ +- #include <iconv.h> +- int main(int argc, char **argv) { +- iconv_t conv = iconv_open("ISO8859-1", "UTF-8"); +- if (conv != (iconv_t) -1) { +- return 0; +- } +- return 1; +- }],iconv_found="yes") +- if test "x$iconv_found" = "xno" ; then +- AC_MSG_RESULT(no) +- else +- AC_MSG_RESULT(yes) +- fi +-fi +- +-if test "x$iconv_found" = "xno" ; then +- AC_MSG_ERROR([ +-*** Iconv headers and/or libraries couldn't be found on your system. +-*** Try to install them with your software package manager. +-*** WeeChat can't be built without Iconv support.]) + fi + + # ------------------------------------------------------------------------------ |