New submission from Alan Hourihane: The configure.ac script detects libintl but can depend on libiconv.
I added this to force it and to demonstrate, but I think this is not 100% correct and should be massaged into the libintl tests. --- configure.ac.old 2013-02-16 09:34:55.000000000 +0000 +++ configure.ac 2013-02-16 09:43:22.000000000 +0000 @@ -2122,6 +2122,15 @@ # pthread (first!) on Linux fi +# Check iconv +AC_CHECK_LIB([iconv], [iconv_open], , [ac_found_iconf=no]) +if test "x$ac_found_iconf" = "xno"; then + AC_CHECK_LIB([iconv], [libiconv_open], , [ac_found_iconf=no]) +fi +if test "x$ac_found_iconf" = "xyes"; then + LIBS="-liconv $LIBS" +fi + # check if we need libintl for locale functions AC_CHECK_LIB(intl, textdomain, [AC_DEFINE(WITH_LIBINTL, 1, ---------- components: Build messages: 182327 nosy: alanh priority: normal severity: normal status: open title: libintl should also check for libiconv versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17226> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com