mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	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:
		| @@ -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]) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user