From 942afd6244dd82cc638fc7e439b02149732f656c Mon Sep 17 00:00:00 2001 From: illogict Date: Tue, 9 Dec 2008 13:31:38 +0000 Subject: [PATCH] When your libc doesn't provide iconv, and that you use GNU libiconv, iconv is available on libiconv_plug.so. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@38052 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure.ac b/configure.ac index b1c3e93..04d79a6 100644 --- a/configure.ac +++ b/configure.ac @@ -251,6 +251,15 @@ if test "x$have_iconv" = "xno" ; then ] ) fi + + if test "x$have_iconv" != "xyes"; then + AC_CHECK_LIB(iconv_plug, iconv, + [ + iconv_libs="-liconv_plug" + have_iconv="yes" + ] + ) + fi fi AC_MSG_CHECKING(for explicit iconv link options) AC_MSG_RESULT($iconv_libs) -- 2.7.4