From 0b32feeea0cfeb4a56363ff11456ac1bca8f79c1 Mon Sep 17 00:00:00 2001 From: mmichelson Date: Mon, 26 Jul 2010 16:04:09 +0000 Subject: Allow for systems without locale support to be usable. A recent change to SIP URI comparison code added a locale-specific string comparison to the mix, and certain systems do not support such functions. This fix allows for those systems to still use Asterisk 1.8 (closes issue #17697) Reported by: pprindeville Patches: asterisk-trunk-bugid17697.patch uploaded by pprindeville (license 347) Tested by: mmichelson git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279504 f38db490-d61c-443f-a65b-d21fe96a405b --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 301674af6..b0adfd761 100644 --- a/configure.ac +++ b/configure.ac @@ -402,6 +402,9 @@ AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h libintl.h limits.h locale.h malloc.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h strings.h sys/event.h sys/file.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h termios.h unistd.h utime.h arpa/nameser.h sys/io.h]) +# some embedded systems omit internationalization (locale) support +AC_CHECK_HEADERS([xlocale.h]) + AC_CHECK_HEADERS([winsock.h winsock2.h]) AC_CHECK_HEADER([sys/poll.h], -- cgit v1.2.3