GNU libiconv uses symbol "libiconv_open" instead of "iconv_open".

(closes issue #19344)
 Reported by: rohanl
 Patches: 
       iconv-check.patch uploaded by rohanl (license 1284)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@320573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2011-05-23 16:19:32 +00:00
parent dea0171ac9
commit fcca69dd92
2 changed files with 598 additions and 410 deletions

View File

@@ -1120,6 +1120,8 @@ if test "${USE_GSM}" != "no"; then
fi
AST_EXT_LIB_CHECK([ICONV], [iconv], [iconv_open], [iconv.h])
# GNU libiconv #define's iconv_open to libiconv_open, so we need to search for that symbol
AST_EXT_LIB_CHECK([ICONV], [iconv], [libiconv_open], [iconv.h])
# Some versions of Linux package iconv in glibc
AST_EXT_LIB_CHECK([ICONV], [c], [iconv_close], [iconv.h])