Not all versions of gnu-linux use glibc, which contains iconv. Some (especially embedded systems) don't have iconv at all.

(closes issue #15169)
 Reported by: pprindeville


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@214152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2009-08-25 22:39:51 +00:00
parent c18df321f0
commit ddf5a08d83
3 changed files with 12022 additions and 12935 deletions

View File

@@ -800,11 +800,9 @@ if test "${USE_GSM}" != "no"; then
fi
fi
if test "${host_os}" != "linux-gnu" ; then
AST_EXT_LIB_CHECK([ICONV], [iconv], [iconv_open], [iconv.h])
else
PBX_ICONV=1
fi
AST_EXT_LIB_CHECK([ICONV], [iconv], [iconv_open], [iconv.h])
# Some versions of Linux package iconv in glibc
AST_EXT_LIB_CHECK([ICONV], [c], [iconv_close], [iconv.h])
AST_EXT_LIB_CHECK([ICAL], [ical], [icaltimezone_new], [libical/ical.h], [-lpthread])