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. --- configh.dos.template | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'configh.dos.template') diff --git a/configh.dos.template b/configh.dos.template index 47dc9d4..d1e1e13 100644 --- a/configh.dos.template +++ b/configh.dos.template @@ -21,10 +21,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ #if __DJGPP__ > 2 || __DJGPP_MINOR__ > 1 -/* Define if `sys_siglist' is declared by . */ +/* Define to 1 if `sys_siglist' is declared by . */ # define SYS_SIGLIST_DECLARED 1 -/* Define this if the C library defines the variable `_sys_siglist'. */ +/* Define to 1 if the C library defines the variable `_sys_siglist'. */ # define HAVE_SYS_SIGLIST 1 #else @@ -40,16 +40,16 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ /* Define to 1 if you have `alloca', as a function or macro. */ #define HAVE_ALLOCA 1 -/* Define if you have the fdopen function. */ +/* Define to 1 if you have the fdopen function. */ #define HAVE_FDOPEN 1 /* Define to 1 if you have the `getgroups' function. */ #define HAVE_GETGROUPS 1 -/* Define if you have the header file. */ +/* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 -/* Define if you have the mkstemp function. */ +/* Define to 1 if you have the mkstemp function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the `mktemp' function. */ @@ -70,19 +70,22 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ /* Define the type of the first arg to select(). */ #define fd_set_size_t int -/* Define if you have the select function. */ +/* Define to 1 if you have the select function. */ #define HAVE_SELECT 1 -/* Define if your compiler conforms to the ANSI C standard. */ +/* Define to 1 if your compiler conforms to the ANSI C standard. */ #define HAVE_ANSI_COMPILER 1 /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 -/* Define if you have the vprintf library function. */ +/* Define to 1 if you have the vprintf library function. */ #undef HAVE_VPRINTF #define HAVE_VPRINTF 1 +/* Define to 1 if you have the stricmp function. */ +#define HAVE_STRICMP 1 + /* Name of the package */ #define PACKAGE "%PACKAGE%" -- cgit v1.2.3