aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2011-05-23 16:20:59 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2011-05-23 16:20:59 +0000
commite62309fa10ef44a6fb499137582a11a5d215814b (patch)
treeb667a544e520e31535c3cf2c1a191d268b4a14ef /configure.ac
parentd8c33b60bf437e1d51115815db129d55505cbcc0 (diff)
Merged revisions 320573 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r320573 | tilghman | 2011-05-23 11:19:32 -0500 (Mon, 23 May 2011) | 7 lines 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: http://svn.digium.com/svn/asterisk/trunk@320579 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6fe16b1df..afa079aff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1142,6 +1142,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])