lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev [PATCH 2.8.3dev.10] Wishful patch for OS/2 build


From: Klaus Weide
Subject: Re: lynx-dev [PATCH 2.8.3dev.10] Wishful patch for OS/2 build
Date: Thu, 7 Oct 1999 01:47:39 -0500 (CDT)

On Thu, 7 Oct 1999, Ilya Zakharevich wrote:

> Without the following patch lynx will not compile on OS/2:
> 
> --- lynx_cfg.h~       Sun Oct  3 22:11:34 1999
> +++ lynx_cfg.h        Sun Oct  3 22:25:56 1999
> @@ -92,6 +92,11 @@
>  #define HAVE_STDLIB_H 1
>  /* #undef HAVE_STPCPY */             /* defined by AM_GNU_GETTEXT */
>  /* #undef HAVE_STRCASECMP */         /* defined by AM_GNU_GETTEXT */
> +#ifdef HAVE_STRICMP
> +#  define HAVE_STRCASECMP            /* defined by AM_GNU_GETTEXT */
> +#  define strcasecmp stricmp
> +#  define strncasecmp        strnicmp
> +#endif
>  #define HAVE_STRCHR 1                /* defined by AM_GNU_GETTEXT */
>  #define HAVE_STRERROR 1
>  #define HAVE_STRING_H 1
> 
> But of course, first configure should test for stricmp, and this chunk
> should better be moved to a different location. ;-)

Lynx should not need strcasecmp, it already has its own
strcasecomp.  If strcasecmp is used somewhere instead of
strcasecomp that's an error that should be fixed.

   Klaus


reply via email to

[Prev in Thread] Current Thread [Next in Thread]