[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: |
T.E.Dickey |
Subject: |
Re: lynx-dev [PATCH 2.8.3dev.10] Wishful patch for OS/2 build |
Date: |
Thu, 7 Oct 1999 05:20:20 -0400 (EDT) |
>
> Without the following patch lynx will not compile on OS/2:
was this due to a recent change? I built dev.8 on OS/2 without problems.
> --- 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. ;-)
>
> Ilya
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey