unac: look for iconv_open

The function that unac's configure script needs to check for seems to
be "iconv_open" now, not "libiconv_open".

Closes Homebrew/homebrew#18108.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Andreas Fuchs 2013-02-26 23:20:51 -08:00 committed by Adam Vandenberg
parent fe412e76a9
commit 7261a67835

View file

@ -55,8 +55,7 @@ index 4a4eab6..9f25d50 100644
AM_ICONV
-AC_CHECK_FUNCS(iconv_open,,AC_MSG_ERROR([
+LIBS="$LIBS -liconv"
+AC_CHECK_FUNCS(libiconv_open,,AC_MSG_ERROR([
AC_CHECK_FUNCS(iconv_open,,AC_MSG_ERROR([
iconv_open not found try to install replacement from
http://www.gnu.org/software/libiconv/