This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author alanh
Recipients alanh
Date 2013-02-18.16:00:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361203207.64.0.112739633546.issue17226@psf.upfronthosting.co.za>
In-reply-to
Content
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,
History
Date User Action Args
2013-02-18 16:00:07alanhsetrecipients: + alanh
2013-02-18 16:00:07alanhsetmessageid: <1361203207.64.0.112739633546.issue17226@psf.upfronthosting.co.za>
2013-02-18 16:00:07alanhlinkissue17226 messages
2013-02-18 16:00:07alanhcreate