[New-bugs-announce] [issue17226] libintl should also check for libiconv
Alan Hourihane
report at bugs.python.org
Mon Feb 18 17:00:07 CET 2013
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 <report at bugs.python.org>
<http://bugs.python.org/issue17226>
_______________________________________
More information about the New-bugs-announce
mailing list