Message182327
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, |
|
Date |
User |
Action |
Args |
2013-02-18 16:00:07 | alanh | set | recipients:
+ alanh |
2013-02-18 16:00:07 | alanh | set | messageid: <1361203207.64.0.112739633546.issue17226@psf.upfronthosting.co.za> |
2013-02-18 16:00:07 | alanh | link | issue17226 messages |
2013-02-18 16:00:07 | alanh | create | |
|