From 52ebc531ce68b369594267a716e93f53720c8f1b Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Wed, 9 May 2007 02:01:53 +0000 Subject: Fix Savannah bug #19656: rationalize our use of case-insensitive string comparison functions to always use POSIX strcasecmp(). For non-POSIX systems that use other functions (strcmpi or stricmp) use a macro to alias strcasecmp to those. If we can't find any of them (VMS, plus whatever UNIX doesn't have them) then define our own version in misc.c. --- config.ami.template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'config.ami.template') diff --git a/config.ami.template b/config.ami.template index e63d712..fa2de55 100644 --- a/config.ami.template +++ b/config.ami.template @@ -262,9 +262,15 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ /* Define if you have the socket function. */ /* #undef HAVE_SOCKET */ -/* Define if you have the strcasecmp function. */ +/* Define to 1 if you have the strcasecmp function. */ /* #undef HAVE_STRCASECMP */ +/* Define to 1 if you have the strcmpi function. */ +/* #undef HAVE_STRCMPI */ + +/* Define to 1 if you have the stricmp function. */ +/* #undef HAVE_STRICMP */ + /* Define if you have the strerror function. */ #define HAVE_STRERROR 1 -- cgit v1.2.3