eglib: Fix iconv check for GNU libiconv
authorAndreas Färber <afaerber@mono-cvs.ximian.com>
Sun, 25 Apr 2010 15:26:55 +0000 (15:26 -0000)
committerAndreas Färber <afaerber@mono-cvs.ximian.com>
Sun, 25 Apr 2010 15:26:55 +0000 (15:26 -0000)
* configure.ac: The iconv function may be libiconv_open.
Fixes linking with GNU libiconv.

This commit is licensed under the MIT X11 license.

svn path=/trunk/mono/; revision=156061

eglib/ChangeLog
eglib/configure.ac

index 232575f9a77887fa22262b195bee995609a117b4..60bdd94f906bf35ed5979fd786fa87974c14e16e 100644 (file)
@@ -1,3 +1,10 @@
+2010-04-25  Andreas Faerber  <andreas.faerber@web.de>
+
+       * configure.ac: The iconv function may be libiconv_open.
+       Fixes linking with GNU libiconv.
+
+       Contributed under MIT/X11 license.
+
 2010-04-23  Geoff Norton  <gnorton@novell.com>
 
        * configure.ac: The iconv function is iconv_open.
index d7c5d14562fb242fba1b74c66c2324184c4ae025..3014d264690f85e01f5008a3d13430b3ae344b94 100644 (file)
@@ -70,6 +70,7 @@ AC_CHECK_SIZEOF(int)
 AC_CHECK_SIZEOF(void *)
 AC_CHECK_FUNCS(strndup strlcpy getpwent_r strtok_r rewinddir)
 AC_CHECK_LIB(iconv, iconv_open, LIBS="$LIBS -liconv")
+AC_CHECK_LIB(iconv, libiconv_open, LIBS="$LIBS -liconv")
 AC_SEARCH_LIBS(sqrtf, m)
 AC_SEARCH_LIBS(dlopen, dl)
 old_ldflags="${LDFLAGS}"